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

From: Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, 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:46:52
Message-ID: CAKuK5J1E99GyK1zWhBnsVLafzsPW7ZCc-3FCp9gFAz9mPxYCmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Feb 18, 2013 at 6:39 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> 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.

Did you try turning barriers on or off *manually* (explicitly)? With
LSI and barriers *on* and ext4 I had less-optimal performance. With
Linux MD or (some) 3Ware configurations I had no performance hit.

--
Jon

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2013-02-19 00:51:50 Re: High CPU usage / load average after upgrading to Ubuntu 12.04
Previous Message Josh Berkus 2013-02-19 00:39:53 Re: High CPU usage / load average after upgrading to Ubuntu 12.04