Re: [Testperf-general] BufferSync and bgwriter - Mailing list pgsql-hackers

From Greg Stark
Subject Re: [Testperf-general] BufferSync and bgwriter
Date
Msg-id 878y7wkd3a.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: [Testperf-general] BufferSync and bgwriter  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck <JanWieck@yahoo.com> writes:

> Doesn't cranking up the bgwriter_percent to 100 effectively make the entire
> shared memory a write-through cache? In other words, with 100% the bgwriter
> will allways write all dirty blocks out and it becomes unlikely to avoid an IO
> for subsequent modificaitons to the same data block.

If the goal is to not write out hot pages why look in T1 at all? Why not just
flush 100% of the dirty pages from T2 and ignore T1 entirely?

-- 
greg



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Call for port reports
Next
From: Thomas Hallgren
Date:
Subject: Permissions within a function