Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 1066C6323E8 for ; Mon, 2 Aug 2010 19:21:54 -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 59676-08 for ; Mon, 2 Aug 2010 22:21:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id EA3DF632287 for ; Mon, 2 Aug 2010 19:21:46 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1Og3OA-0007yW-5W for pgsql-performance@postgresql.org; Mon, 02 Aug 2010 15:21:45 -0700 Message-ID: <4C5744F5.3020805@agliodbs.com> Date: Mon, 02 Aug 2010 15:21:41 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Testing Sandforce SSD References: <4C4A9452.9070100@gmail.com> <4C4B1F84.5030306@2ndquadrant.com> <4C4B4B41.7000800@2ndquadrant.com> <4C52E957.8020304@gmail.com> <4C56DD8B.6050303@gmail.com> In-Reply-To: <4C56DD8B.6050303@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 201008/21 X-Sequence-Number: 39864 > Definately - that 10% number was on the old-first hardware (the core 2 > E6600). After reading my post and the 185MBps with 18500 reads/s number > I was a bit suspicious whether I did the tests on the new hardware with > 4K, because 185MBps / 18500 reads/s is ~10KB / read, so I thought thats > a lot closer to 8KB than 4KB. I checked with show block_size and it was > 4K. Then I redid the tests on the new server with the default 8KB > blocksize and got about 4700 tps (TPC-B/300)... 67/47 = 1.47. So it > seems that on newer hardware, the difference is larger than 10%. That doesn't make much sense unless there's some special advantage to a 4K blocksize with the hardware itself. Can you just do a basic filesystem test (like Bonnie++) with a 4K vs. 8K blocksize? Also, are you running your pgbench tests more than once, just to account for randomizing? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com