Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6PzE-0007E9-EB for pgsql-performance@arkaria.postgresql.org; Fri, 15 Feb 2013 18:26:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U6PzD-0003LZ-Mm for pgsql-performance@arkaria.postgresql.org; Fri, 15 Feb 2013 18:26:15 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6PzC-0003LS-SI for pgsql-performance@postgresql.org; Fri, 15 Feb 2013 18:26:15 +0000 Received: from outmail148143.authsmtp.com ([62.13.148.143]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U6PzA-0003NI-VN for pgsql-performance@postgresql.org; Fri, 15 Feb 2013 18:26:14 +0000 Received: from mail-c226.authsmtp.com (mail-c226.authsmtp.com [62.13.128.226]) by punt8.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r1FIQBWb005084 for ; Fri, 15 Feb 2013 18:26:11 GMT Received: from [172.47.23.103] (70-36-143-10.dsl.dynamic.sonic.net [70.36.143.10]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r1FIQ9es033241 for ; Fri, 15 Feb 2013 18:26:10 GMT Message-ID: <511E7DC0.4090506@agliodbs.com> Date: Fri, 15 Feb 2013 10:26:08 -0800 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: High CPU usage / load average after upgrading to Ubuntu 12.04 References: <60B572D9298D944580F7D51195DD30804357FA4ABF@VMBX125.ihostexchange.net> <60B572D9298D944580F7D51195DD30804357FA4B60@VMBX125.ihostexchange.net> <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> In-Reply-To: X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Server-Quench: 2bdd5102-779d-11e2-98a9-0025907ec6c5 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkbIhBDJB8RWB5f NVxfJ1xYPXUEQkpF VCReGBUITgIzDi10 bhUnOFdCYEpPXBVr WEJLRFhTFEtvAQIC AAAfVhpsdgVZen1v ZQggXwYiPU0vNkZ+ QUxQFCMHbGFiJmJN BBRddgNWbQRNd0tY a1EqVm4EaTQOe3pg RVJiZ288NmtUdTJv T1NFHmo/e2gsJBsJ DzADEjVnNnU4Dzgo JhMrYhlUGEEYPg07 L1Y7UF0VexYcFgBE V1xVDzVQK1gHSGI3 CktnV1MYDCA/CX4G REV0SgAA X-Authentic-SMTP: 61633136333939.1020:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 70.36.143.10/23 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org 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