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

From Peter Geoghegan
Subject Re: BGWriter latch, power saving
Date
Msg-id CAEYLb_VWfB+v0n6WN76MfP=DNUNBXBK5pVA3j5joEvRt=BxVpw@mail.gmail.com
Whole thread Raw
In response to Re: BGWriter latch, power saving  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: BGWriter latch, power saving  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On 17 January 2012 11:24, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> In the patch I sent, I did rearrange the sleeping logic. I think it's more
> readable the way it is now.

I have no objection to either your refinement of the sleeping logic,
nor that you moved some things in both the existing code and my patch
so that they occur when no spinlock is held.

Should I proceed with a benchmark on V3, so that we can get this
committed? I imagine that a long pgbench-tools run is appropriate,
(after all, it was used to justify the re-write of the BGWriter for
8.3) at various scale factors, from smallish to quite large.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: 9.3 feature proposal: vacuumdb -j #
Next
From: Dimitri Fontaine
Date:
Subject: Re: WIP patch for parameterized inner paths