Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id DA73D1337B5C for ; Wed, 27 Oct 2010 16:59:06 -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 13811-07 for ; Wed, 27 Oct 2010 19:58:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mail.postgresql.org (Postfix) with ESMTP id 934791336FA7 for ; Wed, 27 Oct 2010 16:58:50 -0300 (ADT) Received: from [192.168.1.6] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0M2YnR-1OLhYI3EAv-00sOS7; Wed, 27 Oct 2010 21:58:48 +0200 Message-ID: <4CC88476.7010804@2ndquadrant.com> Date: Wed, 27 Oct 2010 15:58:46 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Ivan Voras CC: pgsql-performance@postgresql.org Subject: Re: CPUs for new databases References: <4CC6CFAA.10107@one.com> <4CC73FEF.9020805@agliodbs.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:kuepUow41HQdLHCjK/bQo/Z9iYGf4tMsm3QzIFLNike e4aYcigGg4USBUJ3kBVA78rX2zvKF0Feeo3CYcTwmcE+S+0nXK Vs5oXT518qlOm3wQ5cANSCVzprKcmq9LxOHwWzxcmGlGuMtgk8 v0mWOd/QSXp1B8hONnM/tCt/0XI6YSQohHeUuaUr5WXHnpwb4m HhidrExthz7TwAd5CV4DHExVYUkVW+KRfPJFnd6tL0= 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: 201010/509 X-Sequence-Number: 40927 Ivan Voras wrote: > FWIW, yes - once the IO is fast enough or not necessary (e.g. the > read-mostly database fits in RAM), RAM bandwidth *is* the next > bottleneck and it really, really can be observed in actual loads. This is exactly what I've concluded, after many rounds of correlating memory speed tests with pgbench tests against in-RAM databases. And it's the reason why I've written the stream-scaling utility and been collecting test results from as many systems as possible. That seemed to get dismissed upthread as not being the answer the poster was looking for, but I think you have to get a handle on that part before the rest of the trivia involved even matters. I have a bunch more results that have been flowing in that I need to publish there soon. Note that there is a bug in stream-scaling where sufficiently large systems can hit a compiler problem where it reports "relocation truncated to fit: R_X86_64_PC32 against `.bss'". I have two of those reports and am working on resolving. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services and Support www.2ndQuadrant.us "PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books