Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 211DA632E9B for ; Mon, 26 Jul 2010 16:40:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 33525-10 for ; Mon, 26 Jul 2010 19:40:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mail.postgresql.org (Postfix) with ESMTP id 0826D63251C for ; Mon, 26 Jul 2010 16:40:34 -0300 (ADT) Received: by ewy23 with SMTP id 23so1007302ewy.19 for ; Mon, 26 Jul 2010 12:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=PPwtdvIry20+CylEFsd+J40qLFPqSEFMiYfMJU14XM0=; b=SVSAY/ztnCICIU6cWx3B6Y9o8phVtDsBWpxdt3CMWloszjTSMr7PGz4o3R/E4T+/xO OmWOgib77nsLBLeFJhyG11Pf3FeEQyXUtecDCiafeBOCmuIc42qSLXws1uDrjD6it+ab HqVlCy8/hBidiYa5Tn0Q37wTb7TzoHogDNcjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ssuuWrGZFIhQqD3r149DCfhOdaKxX6gmPepNXXfpF5dLc6hik5Qq+SKA0EdG0uMjhH Xg/8Kh/S5CPL0sA/CAEC+Yx7SjfqX6+4pQ08MswmQbS6gJi8CpeLFdbAJ1mt1PQPWWU+ Oed6c+vxqpt7CWtwHm4vV7YQilVVuD04MIiss= Received: by 10.14.36.87 with SMTP id v63mr482184eea.0.1280173232881; Mon, 26 Jul 2010 12:40:32 -0700 (PDT) Received: from [0.0.0.0] (5357DA75.cable.casema.nl [83.87.218.117]) by mx.google.com with ESMTPS id v8sm6224360eeh.2.2010.07.26.12.40.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Jul 2010 12:40:32 -0700 (PDT) Message-ID: <4C4DE50B.1060102@gmail.com> Date: Mon, 26 Jul 2010 21:42:03 +0200 From: Yeb Havinga User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Greg Smith CC: pgsql-performance@postgresql.org Subject: Re: Testing Sandforce SSD References: <4C4A9452.9070100@gmail.com> <4C4B1F84.5030306@2ndquadrant.com> <4C4C83DF.3010703@gmail.com> <4C4C8CCC.7080406@gmail.com> <4C4D6396.5020707@gmail.com> <4C4DAAE8.3060501@2ndquadrant.com> In-Reply-To: <4C4DAAE8.3060501@2ndquadrant.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.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201007/387 X-Sequence-Number: 39776 Greg Smith wrote: > Yeb Havinga wrote: >> Please remember that particular graphs are from a read/write pgbench >> run on a bigger than RAM database that ran for some time (so with >> checkpoints), on a *single* $435 50GB drive without BBU raid controller. > > To get similar *average* performance results you'd need to put about 4 > drives and a BBU into a server. The worst-case latency on that > solution is pretty bad though, when a lot of random writes are queued > up; I suspect that's where the SSD will look much better. > > By the way: if you want to run a lot more tests in an organized > fashion, that's what http://github.com/gregs1104/pgbench-tools was > written to do. That will spit out graphs by client and by scale > showing how sensitive the test results are to each. Got it, running the default config right now. When you say 'comparable to a small array' - could you give a ballpark figure for 'small'? regards, Yeb Havinga PS: Some update on the testing: I did some ext3,ext4,xfs,jfs and also ext2 tests on the just-in-memory read/write test. (scale 300) No real winners or losers, though ext2 isn't really faster and the manual need for fix (y) during boot makes it impractical in its standard configuration. I did some poweroff tests with barriers explicitily off in ext3, ext4 and xfs, still all recoveries went ok.