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 D14A411F64E0 for ; Wed, 26 Apr 2006 11:20:05 -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 22461-06 for ; Wed, 26 Apr 2006 11:19:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 430FC11F627C for ; Wed, 26 Apr 2006 11:19:40 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 3BE5D3147B; Wed, 26 Apr 2006 16:19:40 +0200 (MET DST) From: William Yu X-Newsgroups: pgsql.performance Subject: Re: Large (8M) cache vs. dual-core CPUs Date: Wed, 26 Apr 2006 07:19:38 -0700 Organization: Hub.Org Networking Services Lines: 35 Message-ID: References: <20060425141435.6c8c163c.wmoran@collaborativefusion.com> <1145990018.23538.234.camel@state.g2switchworks.com> <20060425183817.GA9241@mark.mielke.cc> <1145990551.23538.244.camel@state.g2switchworks.com> <20060426005440.GA12711@mark.mielke.cc> <20060426011701.GB12711@mark.mielke.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Thunderbird 1.5 (X11/20051201) In-Reply-To: <20060426011701.GB12711@mark.mielke.cc> To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.217 tagged_above=0 required=5 tests=BAYES_00, SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: * X-Archive-Number: 200604/600 X-Sequence-Number: 18684 mark@mark.mielke.cc wrote: > > I have an Intel Pentium D 920, and an AMD X2 3800+. These are very > close in performance. The retail price difference is: > > Intel Pentium D 920 is selling for $310 CDN > AMD X2 3800+ is selling for $347 CDN > > Anybody who claims that Intel is 2X more expensive for the same > performance, isn't considering all factors. No question at all - the > Opteron is good, and the Xeon isn't - but the original poster didn't > ask about Opeteron or Xeon, did he? For the desktop lines - X2 is not > double Pentium D. Maybe 10%. Maybe not at all. Especially now that > Intel is dropping it's prices due to overstock. There's part of the equation you are missing here. This is a PostgreSQL mailing list which means we're usually talking about performance of just this specific server app. While in general there may not be that much of a % difference between the 2 chips, there's a huge gap in Postgres. For whatever reason, Postgres likes Opterons. Way more than Intel P4-architecture chips. (And it appears way more than IBM Power4 chips and a host of other chips also.) Here's one of the many discussions we had about this issue last year: http://qaix.com/postgresql-database-development/337-670-re-opteron-vs-xeon-was-what-to-do-with-6-disks-read.shtml The exact reasons why Opteron runs PostgreSQL so much better than P4s, we're not 100% sure of. We have guesses -- lower memory latency, lack of shared FSB, better 64-bit, 64-bit IOMMU, context-switch storms on P4, better dualcore implementation and so on. Perhaps it's a combination of all the above factors but somehow, the general experience people have had is that equivalently priced Opterons servers run PostgreSQL 2X faster than P4 servers as the baseline and the gap increases as you add more sockets and more cores.