X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 105889DCB10 for ; Thu, 16 Mar 2006 09:17:31 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06986-09 for ; Thu, 16 Mar 2006 09:17:34 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by postgresql.org (Postfix) with ESMTP id A16689DCA2B for ; Thu, 16 Mar 2006 09:17:27 -0400 (AST) Received: from [213.162.97.75] (helo=mail.metronet.co.uk) by pih-relay06.plus.net with esmtp (Exim) id 1FJsM7-0006xF-Cn; Thu, 16 Mar 2006 13:17:31 +0000 Received: from mainbox.archonet.com (unknown [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id ADD7840D385; Thu, 16 Mar 2006 12:55:59 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 7E7CEFF04; Thu, 16 Mar 2006 12:55:59 +0000 (GMT) Message-ID: <4419605F.9000806@archonet.com> Date: Thu, 16 Mar 2006 12:55:59 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Guillaume Smet Cc: pgsql-performance@postgresql.org Subject: Re: PostgreSQL and Xeon MP References: <1d4e0c10603160245n55128e86t35431a339afcf8cc@mail.gmail.com> <44194A4B.3020106@archonet.com> <1d4e0c10603160428s1a3c1f4cocbe8489634524387@mail.gmail.com> In-Reply-To: <1d4e0c10603160428s1a3c1f4cocbe8489634524387@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.125 required=5 tests=[AWL=0.125] X-Spam-Score: 0.125 X-Spam-Level: X-Archive-Number: 200603/235 X-Sequence-Number: 17672 Guillaume Smet wrote: > Richard, > >> You should be seeing context-switching jump dramatically if it's the >> "classic" multi-Xeon problem. There's a point at which it seems to just >> escalate without a corresponding jump in activity. > > No we don't have this problem of very high context switching in our > case even when the database is very slow. When I mean very slow, we > have pages which loads in a few seconds in the normal case (load > between 3 and 4) which takes several minutes (up to 5-10 minutes) to > be generated in the worst case (load at 4 but really bad > performances). Very strange. > If I take a look on our cpu load graph, in one year, the cpu load was > never higher than 5 even in the worst cases... > >> I checked with Tom last week. Thread starts below: >> http://archives.postgresql.org/pgsql-hackers/2006-02/msg01118.php >> >> He's of the opinion that 8.1.3 will be an improvement. > > Thanks for pointing me this thread, I searched in -performance not in > -hackers as the original thread was in -performance. We planned a > migration to 8.1.3 so we'll see what happen with this version. > > Do you plan to test it before next tuesday? If so, I'm interested in > your results. I'll post our results here as soon as we complete the > upgrade. The client has just bought an Opteron to run on, I'm afraid. I might try 8.1 on the Xeon but it'll just be to see what happens and that won't be for a while. -- Richard Huxton Archonet Ltd