Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D5BE0B5DBDC for ; Thu, 4 Aug 2011 18:02:19 -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 45531-01 for ; Thu, 4 Aug 2011 21:02:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.peak6.com (smtp.optionshouse.com [38.98.137.6]) by mail.postgresql.org (Postfix) with ESMTP id 4D060B5DBDB for ; Thu, 4 Aug 2011 18:02:12 -0300 (ADT) X-AuditID: 0a64cb1e-b7c2bae0000029bf-15-4e3b08d33443 Message-ID: <4E3B08D3.606@peak6.com> Date: Thu, 4 Aug 2011 16:02:11 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Kevin Grittner CC: , Claire Chang Subject: Re: Postgres 8.4 memory related parameters References: <1312489633.71838.YahooMailClassic@web31912.mail.mud.yahoo.com> <4E3ABCFB020000250003FAF4@gw.wicourts.gov> In-Reply-To: <4E3ABCFB020000250003FAF4@gw.wicourts.gov> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.221.50] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHIsWRmVeSWpSXmKPExsXCxcQrpnuFw9rPoOsxh8Wj88tZLK7PPMds 0dB2jNmB2ePCvmnsHq8mbGbxmDXrMFMAc1QDo01iXl5+SWJJqkJKanGyrVKAq6O3mUJwSWJe SmJRioJLZnFyTmJmbmqRkkJmiq2SkZJCQU5icmpual6JrVJiQUFqXoqSHZcCBrABKsvMU0jN S85PycxLt1XyDPbXtbAwtdQ1VLKLR4CENpaMFetXMBV8Z6t4fOMiWwPjUdYuRk4OCQETiT8v p7NB2GISF+6tB7N5BVQkOlqfgtksQHbT6atg9WwCahILd99kBLGFBGQl9q86BxbnFxCW2Peh iRnEFhUIkFgw6S0jxBxBiZMzn7CA2CICBhI3VqwAq2cW8JR4tXA9E4gtLGArcfH/VBaImWUS 0w61gc3hFDCX2NT1iR2i3lbiwpzrLBC2vMT2t3OYIerlJO40PAe6kwPofgWJe3+dJjAKzUKy eRaS7llIuhcwMq9iFC8uS0zOyDQtKM4tKTDUK0hNzDbTy0st2cQIiuWU03I7GKcvVTzEKMDB qMTDK3rByk+INbGsuDL3EKMEB7OSCG8lg7WfEG9KYmVValF+fFFpTmrxIUZtYJBNZJbiTs4H ppm8knhjAwMlcV6f2Rx+QgLpwDSQnZpakFoEU83EwSnVwCghlSC0Izr2O9fKgvk+4pH3O8LW L67j+dd89/W87TW6l2WCuqcuCA488JLn4Z+NTHYHPi0T7F2Un71eyjF5/WLOx49XbdfcLcA4 zXXb8bszJp83vThZQImb8+C1Wq65KXtm/JnfFXsqOThOtqJnQ0LOJ99V11YlnuX0ORnJcol7 19bdq2UXVfxQYinOSDTUYi4qTgQAih0ewvECAAA= 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 X-Spam-Level: X-Archive-Number: 201108/74 X-Sequence-Number: 44521 On 08/04/2011 03:38 PM, Kevin Grittner wrote: > You're probably going to get better performance by setting that to 2 > to 3 times the number of actual cores (don't county hyperthreading > for this purpose), and using a connection pooler to funnel the 600 > user connections down to a smaller number of database connections. Your note about Hyperthreading *used* to be true. I'm not sure exactly what they did to the Intel nehalem cores, but hyperthreading actually seems to be much better now. It's not a true multiplier, but our pgbench scores were 40% to 60% higher with HT enabled up to at least 5x the number of cores. I was honestly shocked at those results, but they were consistent across multiple machines from two separate vendors. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email_disclaimer.php for terms and conditions related to this email