Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 22515633E9F for ; Tue, 31 Aug 2010 12:43:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 85177-08-2 for ; Tue, 31 Aug 2010 15:43:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 2F8D963311F for ; Tue, 31 Aug 2010 12:43:46 -0300 (ADT) Received: from [192.168.1.7] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0Medsu-1OSMZa35YW-00OfIj; Tue, 31 Aug 2010 17:43:43 +0200 Message-ID: <4C7D232D.6030802@2ndquadrant.com> Date: Tue, 31 Aug 2010 11:43:41 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Yeb Havinga CC: Jose Ildefonso Camargo Tolosa , "pgsql-performance@postgresql.org" Subject: Re: Performance on new 64bit server compared to my 32bit desktop References: <4C6CE64D.6070104@edd.fr> <4C6D76FE.9010407@2ndquadrant.com> <4C77F4F4.4020900@2ndquadrant.com> <4C7B6498.5040800@gmail.com> <4C7BCB2E.3090100@2ndquadrant.com> <4C7CF886.5040603@gmail.com> In-Reply-To: <4C7CF886.5040603@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:+Mdqj6GBEv2RjqIWSHHxKVJ8K8dltWetuFOf9MhX4Gj jTKR7971e+UOQN6zIHfG+PYt/jHqm+DDW+pQ+de2hjmcBFFKsQ McJEOrXhT1kPSAqmVE3xiQbz8udsf/Gt1yOICPWy+sRvj29/2T NG8ljKzN2bmeAyTYLNuKdy07+SuFtGtmCJM5GPrjqF/Yiupd52 uG//aBhtbdk1W8dFbhjgqFz0EIZKR29BGVdLkdj8s4= 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: 201008/352 X-Sequence-Number: 40195 Yeb Havinga wrote: > The rather wierd dip at 5 threads is consistent over multiple tries I've seen that twice on 4 core systems now. The spot where there's just one more thread than cores seems to be the worst case for cache thrashing on a lot of these servers. How much total RAM is in this server? Are all the slots filled? Just filling in a spreadsheet I have here with sample configs of various hardware. Yeb's results look right to me now. That's what an AMD Phenom II X4 940 @ 3.00GHz should look like. It's a little faster, memory-wise, than my older Intel Q6600 @ 2.4GHz. So they've finally caught up with that generation of Intel's stuff. But my current desktop quad-core i860 with hyperthreading is nearly twice as fast in terms of memory access at every thread size. That's why I own one of them instead of a Phenom II X4. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us