Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9B83B1337C41 for ; Thu, 17 Mar 2011 14:29:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 59624-04-2 for ; Thu, 17 Mar 2011 17:28:54 +0000 (UTC) X-Greylist: delayed 00:34:32.641604 by SQLgrey-1.7.6 Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) by mail.postgresql.org (Postfix) with ESMTP id DFCB71337C16 for ; Thu, 17 Mar 2011 14:28:53 -0300 (ADT) Received: by vws1 with SMTP id 1so2922705vws.19 for ; Thu, 17 Mar 2011 10:28:53 -0700 (PDT) Received: by 10.52.94.174 with SMTP id dd14mr2146716vdb.160.1300380860269; Thu, 17 Mar 2011 09:54:20 -0700 (PDT) Received: from Craig-Jamess-MacBook-Pro.local (wsip-70-167-122-86.sd.sd.cox.net [70.167.122.86]) by mx.google.com with ESMTPS id h21sm705571vcr.32.2011.03.17.09.54.18 (version=SSLv3 cipher=OTHER); Thu, 17 Mar 2011 09:54:19 -0700 (PDT) Message-ID: <4D823CB9.9090906@emolecules.com> Date: Thu, 17 Mar 2011 09:54:17 -0700 From: Craig James User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Xeon twice the performance of opteron References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.6 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201103/190 X-Sequence-Number: 42869 On 3/17/11 9:42 AM, J Sisson wrote: > On Thu, Mar 17, 2011 at 10:13 AM, Jeff wrote: >> hey folks, >> >> Running into some odd performance issues between a few of our db boxes. > We've noticed similar results both in OLTP and data warehousing conditions here. > > Opteron machines just seem to lag behind *especially* in data > warehousing. Smaller > cache for sorting/etc... is what I'd always chalked it up to, but I'm > open to other theories > if they exist. We had a similar result with a different CPU-intensive open-source package, and discovered that if we compiled it on the Opteron it ran almost twice as fast as binaries compiled on Intel hardware. We thought we could compile once, run everywhere, but it's not true. It must have been some specific optimization difference between Intel and AMD that the gcc compiler knows about. I don't know if that's the case here, but it's a thought. Craig