Re: Checkpoint sync pause - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Checkpoint sync pause
Date
Msg-id 4F14D6D1.3080808@agliodbs.com
Whole thread Raw
In response to Re: Checkpoint sync pause  (Greg Smith <greg@2ndQuadrant.com>)
List pgsql-hackers
On 1/16/12 5:59 PM, Greg Smith wrote:
> 
> What I think is needed instead is a write-heavy benchmark with a think
> time in it, so that we can dial the workload up to, say, 90% of I/O
> capacity, but that spikes to 100% when checkpoint sync happens.  Then
> rearrangements in syncing that reduces caching pressure should be
> visible as a latency reduction in client response times.  My guess is
> that dbt-2 can be configured to provide such a workload, and I don't see
> a way forward here except for me to fully embrace that and start over
> with it.

You can do this with custom pgbench workloads, thanks to random and
sleep functions.  Somebody went and make pgbench programmable, I don't
remember who.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: age(xid) on hot standby
Next
From: Robert Haas
Date:
Subject: Re: [v9.2] sepgsql's DROP Permission checks