Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TLN7r-00038o-SA for pgsql-performance@postgresql.org; Mon, 08 Oct 2012 23:52:43 +0000 Received: from mbx.knossos.net.nz ([202.160.48.10]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TLN7n-0003ZX-AE for pgsql-performance@postgresql.org; Mon, 08 Oct 2012 23:52:42 +0000 Received: from [10.1.1.3] (60-234-150-59.bitstream.orcon.net.nz [60.234.150.59]) (authenticated bits=0) by mbx.knossos.net.nz (8.14.4/8.14.4) with ESMTP id q98NqTEq011376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Oct 2012 12:52:29 +1300 Message-ID: <5073673C.10905@archidevsys.co.nz> Date: Tue, 09 Oct 2012 12:52:28 +1300 From: Gavin Flower Organization: ArchiDevSys User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Craig James CC: pgsql-performance@postgresql.org Subject: Re: Two identical systems, radically different performance References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------070408070500080900070604" X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/88 X-Sequence-Number: 48047 This is a multi-part message in MIME format. --------------070408070500080900070604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/10/12 12:40, Craig James wrote: > Nobody has commented on the hyperthreading question yet ... does it > really matter? The old (fast) server has hyperthreading disabled, and > the new (slower) server has hyperthreads enabled. > > If hyperthreading is definitely NOT an issue, it will save me a trip > to the co-lo facility. > > Thanks, > Craig > > On Mon, Oct 8, 2012 at 3:29 PM, Craig James > wrote: > > One mistake in my descriptions... > > On Mon, Oct 8, 2012 at 2:45 PM, Craig James > wrote: > > This is driving me crazy. A new server, virtually identical > to an old one, has 50% of the performance with pgbench. I've > checked everything I can think of. > > The setups (call the servers "old" and "new"): > > old: 2 x 4-core Intel Xeon E5620 > new: 4 x 4-core Intel Xeon E5606 > > > Actually it's not 16 cores. It's 8 cores, hyperthreaded. > Hyperthreading is disabled on the old system. > > Is that enough to make this radical difference? (The server is at > a co-location site, so I have to go down there to boot into the > BIOS and disable hyperthreading.) > > Craig > > My latest development box (Intel Latest Core i7 3770K Ivy Bridge Quad Core with HT 3.4GHz) has hyperthreading - and it *_does_* make a significant difference. Cheers, Gavin --------------070408070500080900070604 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 09/10/12 12:40, Craig James wrote:
Nobody has commented on the hyperthreading question yet ... does it really matter? The old (fast) server has hyperthreading disabled, and the new (slower) server has hyperthreads enabled.

If hyperthreading is definitely NOT an issue, it will save me a trip to the co-lo facility.

Thanks,
Craig

On Mon, Oct 8, 2012 at 3:29 PM, Craig James <cjames@emolecules.com> wrote:
One mistake in my descriptions...

On Mon, Oct 8, 2012 at 2:45 PM, Craig James <cjames@emolecules.com> wrote:
This is driving me crazy.  A new server, virtually identical to an old one, has 50% of the performance with pgbench.  I've checked everything I can think of.

The setups (call the servers "old" and "new"):

old: 2 x 4-core Intel Xeon E5620
new: 4 x 4-core Intel Xeon E5606

Actually it's not 16 cores.  It's 8 cores, hyperthreaded.  Hyperthreading is disabled on the old system.

Is that enough to make this radical difference?  (The server is at a co-location site, so I have to go down there to boot into the BIOS and disable hyperthreading.)

Craig

My latest development box (Intel Latest Core i7 3770K Ivy Bridge Quad Core with HT 3.4GHz) has hyperthreading - and it does make a significant difference.

Cheers,
Gavin
--------------070408070500080900070604--