pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
Date: Wed, 20 Feb 2013 14:44:34 -0800
Message-ID: <512551D2.9090407@agliodbs.com> (raw)
In-Reply-To: <CAOR=d=1u4vtxNX+xoMrX+-1G9DUu6QOZnLXu1moS2+XO1FX=WA@mail.gmail.com>
References: <60B572D9298D944580F7D51195DD30804357FA4ABF@VMBX125.ihostexchange.net>
	<dpg5ol29ltnb072ngdg8auj4.1360707457411@email.android.com>
	<60B572D9298D944580F7D51195DD30804357FA4C11@VMBX125.ihostexchange.net>
	<511BE879.8080706@agliodbs.com>
	<511C2F10.3080409@agliodbs.com>
	<60B572D9298D944580F7D51195DD30804357FA4DE2@VMBX125.ihostexchange.net>
	<511D2F11.6040706@agliodbs.com>
	<60B572D9298D944580F7D51195DD308043580CAA0B@VMBX125.ihostexchange.net>
	<511D79FE.7060705@agliodbs.com>
	<60B572D9298D944580F7D51195DD308043580CAA87@VMBX125.ihostexchange.net>
	<CAOR=d=3CqRL5jrFRTSg9kFdcJzKpx3TJSsoDwRqpPUO=ENoFRQ@mail.gmail.com>
	<511E7DC0.4090506@agliodbs.com>
	<CAOR=d=2cEi=ibGS4DCrFAWq8VtCz6XEYDsMyarBX=evshLWgKg@mail.gmail.com>
	<5122C507.7060303@agliodbs.com>
	<CAOR=d=3bXmMmTvh3cKCizhwsijxg6wh6ADC053w-dbkC3e_zCQ@mail.gmail.com>
	<5122FF50.8030903@catalyst.net.nz>
	<5123BB94.7030603@agliodbs.com>
	<512409AF.8010308@agliodbs.com>
	<CAOR=d=1u4vtxNX+xoMrX+-1G9DUu6QOZnLXu1moS2+XO1FX=WA@mail.gmail.c! om>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 02/19/2013 07:15 PM, Scott Marlowe wrote:
> On Tue, Feb 19, 2013 at 4:24 PM, Josh Berkus <josh@agliodbs.com> wrote:
>> ... then you'll see checkpoint "stalls" and spread checkpoint will
>> actually make them worse by making the stalls longer.
> 
> Wait, if they're spread enough then there won't be a checkpoint, so to
> speak.  Are you saying that spreading them out means that they still
> kind of pile up, even with say a completion target of 1.0 etc?

I'm saying that spreading them makes things worse, because they get
intermixed with the fsyncs for the WAL and causes commits to stall.  I
tried setting checkpoint_completion_target = 0.0 and throughput got
about 10% better.

I'm beginning to think that checkpoint_completion_target should be 0.0,
by default.

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


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (33+ messages)  latest in thread

Message-ID: <512551D2.9090407@agliodbs.com>
Permalink:  ../512551D2.9090407@agliodbs.com/
Also on:    postgresql.org/message-id/512551D2.9090407@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, scott.marlowe@gmail.com
  Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
  In-Reply-To: <512551D2.9090407@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox