Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 20EE51337B67 for ; Mon, 9 May 2011 21:46:09 -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 74371-10 for ; Tue, 10 May 2011 00:45:51 +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 7D84B1337B81 for ; Mon, 9 May 2011 21:45:50 -0300 (ADT) Received: from [192.168.1.3] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MGmMn-1QX7jJ0WJN-00DYJg; Tue, 10 May 2011 02:45:48 +0200 Message-ID: <4DC88AB5.1030003@2ndquadrant.com> Date: Mon, 09 May 2011 20:45:41 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Craig James CC: pgsql-performance@postgresql.org Subject: Re: Benchmarking a large server References: <4DC88793.4000708@emolecules.com> In-Reply-To: <4DC88793.4000708@emolecules.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:jd10h34UMoNhTWTWe1cv3AKMd/uE33YQwAPHeh4h0LQ i0YVb1idW85xfUzHUa9FgILea4JgnGhEtEqYIop7KZn2rSsnc5 aEvSog9cZEFl4YH4COelOUAGMDjt+tk/SlG9MVmAPpNZDK0RKT JnUHLT7lqmW1obkrPX2jDQbRLaDm8pdtZKcOUuS05CD+o6cms4 PthOEHCxQRKIpk1d9eZjYE5kmfOaXlqjc1riOoqfds= 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/106 X-Sequence-Number: 43615 Craig James wrote: > Maybe this is a dumb question, but why do you care? If you have 1TB > RAM and just a little more actual disk space, it seems like your > database will always be cached in memory anyway. If you "eliminate > the cach effect," won't the benchmark actually give you the wrong > real-life results? If you'd just spent what two FusionIO drives cost, you'd want to make damn sure they worked as expected too. Also, if you look carefully, there is more disk space than this on the server, just not on the SSDs. It's possible this setup could end up with most of RAM filled with data that's stored on the regular drives. In that case the random performance of the busy SSD would be critical. It would likely take a very bad set of disk layout choices for that to happen, but I could see heavy sequential scans of tables in a data warehouse pushing in that direction. Isolating out the SSD performance without using the larger capacity of the regular drives on the server is an excellent idea here, it's just tricky to do. -- 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