Re: BGWriter latch, power saving - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: BGWriter latch, power saving
Date
Msg-id 4F224F64.7000100@enterprisedb.com
Whole thread Raw
In response to Re: BGWriter latch, power saving  (Peter Geoghegan <peter@2ndquadrant.com>)
List pgsql-hackers
On 26.01.2012 21:37, Peter Geoghegan wrote:
> On 26 January 2012 16:48, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>> Ok, committed with some further cleanup.
>>
>> Do you think the docs need to be updated for this, and if so,
>> where? The only place I found in the docs that speak about how the
>> bgwriter works is in config.sgml, where bgwriter_delay is
>> described. Want to suggest an update to that?
>
> This new behaviour might warrant a mention, as in the attached
> doc-patch.

Hmm, the word "hibernate" might confuse people in this context. I
committed this as:

> It then sleeps for <varname>bgwriter_delay</> milliseconds, and
> repeats. When there are no dirty buffers in the buffer pool, though,
> it goes into a longer sleep regardless of <varname>bgwriter_delay</>.

Thanks!

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Speed dblink using alternate libpq tuple storage
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Speed dblink using alternate libpq tuple storage