Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group