X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E1BE011F6661 for ; Tue, 25 Apr 2006 15:35:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 09682-05-2 for ; Tue, 25 Apr 2006 15:35:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from fon.nation-net.com (fon.nation-net.com [194.24.251.1]) by postgresql.org (Postfix) with ESMTP id 814BA11F6618 for ; Tue, 25 Apr 2006 15:35:01 -0300 (ADT) Received: from fon.nation-net.com (localhost [127.0.0.1]) by fon.nation-net.com (Postfix) with ESMTP id B802D1370D9 for ; Tue, 25 Apr 2006 19:35:00 +0100 (BST) Received: from eddie.acentral.co.uk (80-192-144-33.cable.ubr04.pres.blueyonder.co.uk [80.192.144.33]) by fon.nation-net.com (Postfix) with ESMTP id 9DB4E136FD2 for ; Tue, 25 Apr 2006 19:35:00 +0100 (BST) Received: from eddie.acentral.co.uk (eddie.acentral.co.uk [127.0.0.1]) by eddie.acentral.co.uk (Postfix) with ESMTP id 0262475C7D for ; Tue, 25 Apr 2006 19:35:03 +0100 (BST) Received: from localhost.localdomain (unknown [10.0.0.29]) by eddie.acentral.co.uk (Postfix) with SMTP id D806A75A98 for ; Tue, 25 Apr 2006 19:35:02 +0100 (BST) Date: Tue, 25 Apr 2006 19:35:01 +0100 From: Gavin Hamill To: pgsql-performance@postgresql.org Subject: Re: Large (8M) cache vs. dual-core CPUs Message-Id: <20060425193501.52b14860.gdh@laterooms.com> In-Reply-To: <20060425141435.6c8c163c.wmoran@collaborativefusion.com> References: <20060425141435.6c8c163c.wmoran@collaborativefusion.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-AV-Checked: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/564 X-Sequence-Number: 18648 On Tue, 25 Apr 2006 14:14:35 -0400 Bill Moran wrote: > Does anyone in the PostgreSQL community have any experience with > large caches or dual-core pentiums that could make any > recommendations?=20 Heh :) You're in the position I was in about a year ago - we "naturally" replaced our old Dell 2650 with =A314k of Dell 6850 Quad Xeon with 8M cache, and TBH the performance is woeful :/ Having gone through Postgres consultancy, been through IBM 8-way POWER4 hardware, discovered a bit of a shortcoming in PG on N-way hardware (where N is large) [1] , I have been able to try out a dual-dual-core Opteron machine, and it flies. In fact, it flies so well that we ordered one that day. So, in short =A33k's worth of dual-opteron beat the living daylights out of our Xeon monster. I can't praise the Opteron enough, and I've always been a firm Intel pedant - the HyperTransport stuff must really be doing wonders. I typically see 500ms searches on it instead of 1000-2000ms on the Xeon) As it stands, I've had to borrow this Opteron so much (and send live searches across the net to the remote box) because otherwise we simply don't have enough CPU power to run the website (!) Cheers, Gavin. [1] Simon Riggs + Tom Lane are currently involved in optimisation work for this - it turns out our extremely read-heavy load pattern reveals some buffer locking issues in PG.