Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E3A316332F7 for ; Tue, 3 Aug 2010 11:02:41 -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 38624-10 for ; Tue, 3 Aug 2010 14:02:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mail.postgresql.org (Postfix) with ESMTP id C3AC76331AD for ; Tue, 3 Aug 2010 11:02:34 -0300 (ADT) Received: from [192.168.1.151] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MQ7pz-1OcjZW19GN-004mAX; Tue, 03 Aug 2010 16:02:22 +0200 Message-ID: <4C58216B.7050401@2ndquadrant.com> Date: Tue, 03 Aug 2010 10:02:19 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Yeb Havinga CC: Scott Marlowe , Josh Berkus , 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> <4C5744F5.3020805@agliodbs.com> <4C575DCF.3050700@2ndquadrant.com> <4C57D5FD.9040306@gmail.com> In-Reply-To: <4C57D5FD.9040306@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:O0rk4i7LuQ1qETSHhujdsxNMkjXA9uj6dqE7TRoJSE0 c0L4Bfz02BF1Oh4Ih2zRhoHmI/pnl+XHlCgZzmW/bjnb7O6I6M GpM9pi+exR5Su3ZRcxmjje9gvoJxG0XzrazES3i1ROLeBJavDZ P9peZOFNIxgfZgDZyTV5ElUqtptlC2ZCOGVmftR5phRV8dZXdP jG6gxx2aatf2arjc9KGq2TdrMA93dWLArY3oN9JC5o= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.8 tagged_above=-10 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/29 X-Sequence-Number: 39872 Yeb Havinga wrote: > Small IO size: 4 KB > Maximum Small IOPS=86883 @ Small=8 and Large=0 > > Small IO size: 8 KB > Maximum Small IOPS=48798 @ Small=11 and Large=0 Conclusion: you can write 4KB blocks almost twice as fast as 8KB ones. This is a useful observation about the effectiveness of the write cache on the unit, but not really a surprise. On ideal hardware performance should double if you halve the write size. I already wagered the difference in pgbench results is caused by the same math. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us