pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Josh Berkus <josh@agliodbs.com>
Cc: postgres performance list <pgsql-performance@postgresql.org>
Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
Date: Wed, 20 Feb 2013 12:17:22 +1300
Message-ID: <51240802.2090006@catalyst.net.nz> (raw )
In-Reply-To: <5123BB94.7030603@agliodbs.com >
References: <60B572D9298D944580F7D51195DD30804357FA4ABF@VMBX125.ihostexchange.net >
<60B572D9298D944580F7D51195DD30804357FA4B60@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 >
<5122C9D9.9040909@agliodb s.com >
<5122FF50.8030903@catalyst.net.nz >
<5123BB94.7030603@agliodbs .com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 20/02/13 06:51, Josh Berkus wrote:
> On 02/18/2013 08:28 PM, Mark Kirkwood wrote:
>> Might be worth looking at your vm.dirty_ratio, vm.dirty_background_ratio
>> and friends settings. We managed to choke up a system with 16x SSD by
>> leaving them at their defaults...
> Yeah? Any settings you'd recommend specifically? What did you use on
> the SSD system?
>
We set:
vm.dirty_background_ratio = 0
vm.dirty_background_bytes = 1073741824
vm.dirty_ratio = 0
vm.dirty_bytes = 2147483648
i.e 1G for dirty_background and 2G for dirty. We didn't spend much time
afterwards fiddling with the size much. I'm guessing the we could have
made it bigger - however the SSD were happier to be constantly writing a
few G than being handed (say) 50G of buffers to write at once . The
system has 512G of ram and 32 cores (no hyperthreading).
regards
Mark
--
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: <51240802.2090006@catalyst.net.nz>
Permalink: ../51240802.2090006@catalyst.net.nz/
Also on: postgresql.org/message-id/51240802.2090006@catalyst.net.nz
copy link · copy postgr.es
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: mark.kirkwood@catalyst.net.nz, josh@agliodbs.com
Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
In-Reply-To: <51240802.2090006@catalyst.net.nz>
* 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