pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
Date: Fri, 15 Feb 2013 10:26:08 -0800
Message-ID: <511E7DC0.4090506@agliodbs.com> (raw )
In-Reply-To: <CAOR=d=3CqRL5jrFRTSg9kFdcJzKpx3TJSsoDwRqpPUO=ENoFRQ@mail.gmail.com >
References: <60B572D9298D944580F7D51195DD30804357FA4ABF@VMBX125.ihostexchange.net >
<CABdoJnZmO3M3a20KZWDpfaLG++deaHPdGY8AMPKfRF4Sz=GygQ@mail.gmail.com >
<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 >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On 02/14/2013 08:47 PM, Scott Marlowe wrote:
> If you run your benchmarks for more than a few minutes I highly
> recommend enabling sysstat service data collection, then you can look
> at it after the fact with sar. VERY useful stuff both for
> benchmarking and post mortem on live servers.
Well, background sar, by default on Linux, only collects every 30min.
For a benchmark run, you want to generate your own sar file, for example:
sar -o hddrun2.sar -A 10 90 &
which says "collect all stats every 10 seconds and write them to the
file hddrun2.sar for 15 minutes"
--
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: <511E7DC0.4090506@agliodbs.com>
Permalink: ../511E7DC0.4090506@agliodbs.com/
Also on: postgresql.org/message-id/511E7DC0.4090506@agliodbs.com
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: josh@agliodbs.com
Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04
In-Reply-To: <511E7DC0.4090506@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