Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2790B9FA430 for ; Mon, 4 Dec 2006 20:05:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 42000-02 for ; Mon, 4 Dec 2006 20:05:28 -0400 (AST) X-Greylist: delayed 01:55:25.230052 by SQLgrey-1.7.4 Received: from outbound4-dub-R.bigfish.com (outbound-dub.frontbridge.com [213.199.154.16]) by postgresql.org (Postfix) with ESMTP id 16C509FA103 for ; Mon, 4 Dec 2006 20:05:28 -0400 (AST) Received: from outbound4-dub.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound4-dub-R.bigfish.com (Postfix) with ESMTP id 793D21050116 for ; Mon, 4 Dec 2006 21:58:42 +0000 (UTC) Received: from mail94-dub-R.bigfish.com (unknown [10.5.252.3]) by outbound4-dub.bigfish.com (Postfix) with ESMTP id 5A8881800073 for ; Mon, 4 Dec 2006 21:58:42 +0000 (UTC) Received: from mail94-dub (localhost.localdomain [127.0.0.1]) by mail94-dub-R.bigfish.com (Postfix) with ESMTP id 6C2499A85D1 for ; Mon, 4 Dec 2006 21:58:41 +0000 (UTC) X-BigFish: V Received: by mail94-dub (MessageSwitch) id 1165269520925340_25878; Mon, 4 Dec 2006 21:58:40 +0000 (UCT) Received: from owa1.spimageworks.com (unknown [160.33.20.31]) by mail94-dub.bigfish.com (Postfix) with ESMTP id 3EFA01460061 for ; Mon, 4 Dec 2006 21:58:40 +0000 (UTC) Received: from [172.29.105.69] ([172.30.104.3]) by owa1.spimageworks.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 4 Dec 2006 13:58:39 -0800 Message-ID: <45749A0E.3010707@imageworks.com> Date: Mon, 04 Dec 2006 13:58:38 -0800 From: Matt Chambers Reply-To: chambers@imageworks.com Organization: Sony Pictures Imageworks User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: pgsql upgrade Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Dec 2006 21:58:39.0331 (UTC) FILETIME=[5AEAD330:01C717EF] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200612/64 X-Sequence-Number: 22120 Hi all, I've run into an issue with a Pg 7.4.6 to 8.1.5 upgrade along with hardware upgrade. I moved the database from a 2x 3.0ghz Xeon (512kb w/HT) to a 2x Opteron 250. The database is in memory on a tmpfs partition. (the application can rebuild the db during total system failure) When I first switched it over, the results were exactly what I expected. I was sustaining about a 2.2 on the Xeon and with the Opteron, about a 1.5 with the same traffic. The box is highload, it ouputs about 15mbps. After a couple hours working perfectly the ' system' (vs user) load jumped from a 3% of total CPU usage, to 30%, a 10x increase, and postgres started to write out to data/base at a fairly fast rate. The CPU context switch rate doubled at the same time. Iowait, which was historically 0 on the 7.4 box, went to 0.08. Strangely enough, a vacuum (not full or analyze) stopped postgres from writing to data/base but the strange load pattern remains. (system is ~30% of the overall load, vs 3% before) So, my question is, what happened, and how can I get it back to the same load pattern 7.4.6 had, and the same pattern I had for 4 hours before it went crazy? Matt