Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 74F87632AA4 for ; Thu, 5 Aug 2010 09:40:47 -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 73397-02 for ; Thu, 5 Aug 2010 12:40:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outbound.afilias.info (outbound.afilias.info [69.46.124.26]) by mail.postgresql.org (Postfix) with ESMTP id 262BD632A2E for ; Thu, 5 Aug 2010 09:40:40 -0300 (ADT) Received: from ms5.yyz2.afilias-ops.info ([10.50.129.111] helo=smtp.afilias.info) by outbound.afilias.info with esmtp (Exim 4.69) (envelope-from ) id 1OgzkU-0003PW-7G for pgsql-performance@postgresql.org; Thu, 05 Aug 2010 12:40:38 +0000 Received: from tor-gateway.afilias.info ([199.15.87.4] helo=[10.10.46.12]) by smtp.afilias.info with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OgzkU-0004ZJ-3i for pgsql-performance@postgresql.org; Thu, 05 Aug 2010 12:40:38 +0000 Message-ID: <4C5AB145.1050305@ca.afilias.info> Date: Thu, 05 Aug 2010 08:40:37 -0400 From: Brad Nicholson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Lightning/1.0b2 Thunderbird/3.1.1 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> <6CF7BA7B-4C9F-43A6-8704-A64A5C71F2D9@richrelevance.com> In-Reply-To: <6CF7BA7B-4C9F-43A6-8704-A64A5C71F2D9@richrelevance.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.51 tagged_above=-10 required=5 tests=BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/68 X-Sequence-Number: 39911 On 10-08-04 03:49 PM, Scott Carey wrote: > On Aug 2, 2010, at 7:26 AM, Merlin Moncure wrote: > >> On Fri, Jul 30, 2010 at 11:01 AM, Yeb Havinga wrote: >>> After a week testing I think I can answer the question above: does it work >>> like it's supposed to under PostgreSQL? >>> >>> YES >>> >>> The drive I have tested is the $435,- 50GB OCZ Vertex 2 Pro, >>> http://www.newegg.com/Product/Product.aspx?Item=N82E16820227534 >>> >>> * it is safe to mount filesystems with barrier off, since it has a 'supercap >>> backed cache'. That data is not lost is confirmed by a dozen power switch >>> off tests while running either diskchecker.pl or pgbench. >>> * the above implies its also safe to use this SSD with barriers, though that >>> will perform less, since this drive obeys write trough commands. >>> * the highest pgbench tps number for the TPC-B test for a scale 300 database >>> (~5GB) I could get was over 6700. Judging from the iostat average util of >>> ~40% on the xlog partition, I believe that this number is limited by other >>> factors than the SSD, like CPU, core count, core MHz, memory size/speed, 8.4 >>> pgbench without threads. Unfortunately I don't have a faster/more core >>> machines available for testing right now. >>> * pgbench numbers for a larger than RAM database, read only was over 25000 >>> tps (details are at the end of this post), during which iostat reported >>> ~18500 read iops and 100% utilization. >>> * pgbench max reported latencies are 20% of comparable BBWC setups. >>> * how reliable it is over time, and how it performs over time I cannot say, >>> since I tested it only for a week. >> Thank you very much for posting this analysis. This has IMNSHO the >> potential to be a game changer. There are still some unanswered >> questions in terms of how the drive wears, reliability, errors, and >> lifespan but 6700 tps off of a single 400$ device with decent fault >> tolerance is amazing (Intel, consider yourself upstaged). Ever since >> the first samsung SSD hit the market I've felt the days of the >> spinning disk have been numbered. Being able to build a 100k tps >> server on relatively inexpensive hardware without an entire rack full >> of drives is starting to look within reach. > Intel's next gen 'enterprise' SSD's are due out later this year. I have heard from those with access to to test samples that they really like them -- these people rejected the previous versions because of the data loss on power failure. > > So, hopefully there will be some interesting competition later this year in the medium price range enterprise ssd market. > I'll be doing some testing on Enterprise grade SSD's this year. I'll also be looking at some hybrid storage products that use as SSD's as accelerators mixed with lower cost storage. -- Brad Nicholson 416-673-4106 Database Administrator, Afilias Canada Corp.