Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 30388133616B for ; Mon, 11 Apr 2011 16:52:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 05032-02 for ; Mon, 11 Apr 2011 19:51:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by mail.postgresql.org (Postfix) with ESMTP id 277AC1337B4E for ; Mon, 11 Apr 2011 16:51:51 -0300 (ADT) Received: from [108.9.143.18] (helo=sclark66.netwolves.com) by elasmtp-masked.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Q9N9I-0002zj-Br; Mon, 11 Apr 2011 15:51:48 -0400 Message-ID: <4DA35BD3.5040206@netwolves.com> Date: Mon, 11 Apr 2011 15:51:47 -0400 From: Steve Clark User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: Scott Marlowe CC: "Joshua D. Drake" , Kevin Grittner , pgsql-performance@postgresql.org, Glyn Astill Subject: Re: Linux: more cores = less concurrency. References: <860299.67368.qm@web26003.mail.ukl.yahoo.com> <4DA2FD7B020000250003C678@gw.wicourts.gov> <8b76c51ad6db2e458431ef73bcdd2759@commandprompt.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------040805050400000007070302" X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec796e453c54f05c67861f1e85fe269814d5350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 108.9.143.18 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201104/118 X-Sequence-Number: 43180 This is a multi-part message in MIME format. --------------040805050400000007070302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/11/2011 02:32 PM, Scott Marlowe wrote: > On Mon, Apr 11, 2011 at 12:12 PM, Joshua D. Drake wrote: >> On Mon, 11 Apr 2011 13:09:15 -0500, "Kevin Grittner" >> wrote: >>> Glyn Astill wrote: >>> >>>> The new server uses 4 x 8 core Xeon X7550 CPUs at 2Ghz >>> Which has hyperthreading. >>> >>>> our current servers are 2 x 4 core Xeon E5320 CPUs at 2Ghz. >>> Which doesn't have hyperthreading. >>> >>> PostgreSQL often performs worse with hyperthreading than without. >>> Have you turned HT off on your new machine? If not, I would start >>> there. Anyone know the reason for that? >> And then make sure you aren't running CFQ. >> >> JD > This++ > > Also if you're running a good hardware RAID controller, jsut go to NOOP > -- Stephen Clark *NetWolves* Sr. Software Engineer III Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.clark@netwolves.com http://www.netwolves.com --------------040805050400000007070302 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 04/11/2011 02:32 PM, Scott Marlowe wrote:
On Mon, Apr 11, 2011 at 12:12 PM, Joshua D. Drake <jd@commandprompt.com> wrote:
On Mon, 11 Apr 2011 13:09:15 -0500, "Kevin Grittner"
<Kevin.Grittner@wicourts.gov> wrote:
Glyn Astill <glynastill@yahoo.co.uk> wrote:

The new server uses 4 x 8 core Xeon X7550 CPUs at 2Ghz
Which has hyperthreading.

our current servers are 2 x 4 core Xeon E5320 CPUs at 2Ghz.
Which doesn't have hyperthreading.

PostgreSQL often performs worse with hyperthreading than without.
Have you turned HT off on your new machine?  If not, I would start
there.

      
Anyone know the reason for that?
And then make sure you aren't running CFQ.

JD
This++

Also if you're running a good hardware RAID controller, jsut go to NOOP



--
Stephen Clark
NetWolves
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@netwolves.com
http://www.netwolves.com
--------------040805050400000007070302--