Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TVx3J-0006aJ-Pl for pgsql-performance@postgresql.org; Wed, 07 Nov 2012 04:15:45 +0000 Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TVx3F-0007qZ-9F for pgsql-performance@postgresql.org; Wed, 07 Nov 2012 04:15:43 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 3420C33088 for ; Wed, 7 Nov 2012 17:15:35 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xuh5ijgTVD+G for ; Wed, 7 Nov 2012 17:15:33 +1300 (NZDT) Received: from [IPv6:2404:130:0:1000:d8de:e304:9760:d8ab] (unknown [IPv6:2404:130:0:1000:d8de:e304:9760:d8ab]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id 191DE3308C for ; Wed, 7 Nov 2012 17:15:33 +1300 (NZDT) Message-ID: <5099E094.9010703@catalyst.net.nz> Date: Wed, 07 Nov 2012 17:16:20 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: HT on or off for E5-26xx ? References: <5099D5FA.90802@boreham.org> In-Reply-To: <5099D5FA.90802@boreham.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201211/78 X-Sequence-Number: 48444 On 07/11/12 16:31, David Boreham wrote: > > I'm bringing up a new type of server using Intel E5-2620 (unisocket) > which was selected for good SpecIntRate performance vs cost/power (201 > for $410 and 95W). > > Was assuming it was 6-core but I just noticed it has HT which is > currently enabled since I see 12 cores in /proc/cpuinfo > > Question for the performance experts : is it better to have HT enabled > or disabled for this generation of Xeon ? > Workload will be moderately concurrent, small OLTP type transactions. > We'll also run a few low-load VMs (using KVM) and a big Java application. > > > I've been benchmarking a E5-4640 (4 socket) and hyperthreading off gave much better scaling behaviour in pgbench (gentle rise and flatten off), whereas with hyperthreading on there was a dramatic falloff after approx number clients = number of (hyperthreaded) cpus. The box is intended to be a pure db server, so we are running with hyperthreading off. Cheers Mark