On Wed, Jan 4, 2012 at 7:24 AM, Heikki Linnakangas <heikki.linnakan...@enterprisedb.com> wrote:
> Setting a latch that's already set is fast, > but surely it's even faster to not even try. Agreed. I think we should SetLatch() at the first point a backend writes a dirty buffer because the bgwriter has been inactive. Continually waking the bgwriter makes it harder for it to return to sleep. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers