Re: High CPU usage / load average after upgrading to Ubuntu 12.04

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
Date: 2013-02-19 00:39:53
Message-ID: 5122C9D9.9040909@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Scott,

> So do you have generally slow IO, or is it fsync behavior etc?

All tests except pgBench show this system as superfast. Bonnie++ and DD
tests are good (200 to 300mb/s), and test_fsync shows 14K/second.
Basically it has no issues until checkpoint kicks in, at which time the
entire system basically halts for the duration of the checkpoint.

For that matter, if I run a pgbench and halt it just before checkpoint
kicks in, I get around 12000TPS, which is what I'd expect on this system.

At this point, we've tried 3.2.0.26, 3.2.0.27, 3.4.0, and tried updating
the RAID driver, and changing the IO scheduler. Nothing seems to affect
the behavior. Testing using Ext4 (instead of XFS) next.

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jon Nelson 2013-02-19 00:46:52 Re: High CPU usage / load average after upgrading to Ubuntu 12.04
Previous Message Josh Berkus 2013-02-19 00:19:19 Re: High CPU usage / load average after upgrading to Ubuntu 12.04