Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 068EA1337C01 for ; Mon, 9 May 2011 19:44:53 -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 84709-06-2 for ; Mon, 9 May 2011 22:44:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mail.postgresql.org (Postfix) with ESMTP id 573E11337C4E for ; Mon, 9 May 2011 19:43:58 -0300 (ADT) Received: from [192.168.1.6] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MEcen-1QUoeF0Pmr-00GUZb; Tue, 10 May 2011 00:43:58 +0200 Message-ID: <4DC86E28.8020703@2ndQuadrant.com> Date: Mon, 09 May 2011 18:43:52 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Postgres refusing to use >1 core References: <4DC81A3F020000250003D433@gw.wicourts.gov> <4DC81D56020000250003D438@gw.wicourts.gov> In-Reply-To: <4DC81D56020000250003D438@gw.wicourts.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:RnOHNmWJmzZLmkjkwL48caEiL113QxKwfKB2k/4yInB lxKewHePCSZeMknT8uu5EIhRmqM6LZo/jsPuOamAtwKGadr9qi KCRNky+BIbALjumY+4Ns6GErKpkRLmxl4w0mrru39P2Brw0lp2 ssxPkrHbFjyb44X6FVz23/u8lcZHUz6f5mHJmdZ6e+QZgiY/aM PXOKmX5bhrzGxnCrXu4qAG1hUI+CbUF30zHFhOKN5I= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201105/100 X-Sequence-Number: 43609 On 05/09/2011 05:59 PM, Kevin Grittner wrote: > I'm going to pursue this digression just a little further, because > it probably will be biting you sooner or later. We make sure to > configure the BIOS on our database servers to turn off > hyperthreading. It really can make a big difference in performance. > You're using connection pooling quite aggressively though. The sort of people who do actually benefit from hyperthreading are the ones who don't, where there's lots of CPU time being burnt up in overhead you don't see, and that even a virtual HT processor can help handle. I'm not a big fan of the current hyperthreading implementation, but it's not nearly as bad as the older ones, and there are situations where it is useful. I am unsurprised you don't ever see them on your workload though, you're well tweaked enough to probably be memory or disk limited much of the time. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us "PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books