Re: Checkpoint sync pause

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Checkpoint sync pause
Date: 2012-01-17 02:02:57
Message-ID: 4F14D6D1.3080808@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-01-17 02:11:46 Re: [v9.2] sepgsql's DROP Permission checks
Previous Message Greg Smith 2012-01-17 01:59:08 Re: Checkpoint sync pause