Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UfPSQ-0006tz-CY for pgsql-performance@arkaria.postgresql.org; Thu, 23 May 2013 06:57:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UfPSP-0006cu-So for pgsql-performance@arkaria.postgresql.org; Thu, 23 May 2013 06:57:01 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UfPSP-0006cp-10 for pgsql-performance@postgresql.org; Thu, 23 May 2013 06:57:01 +0000 Received: from host36.ns3.it ([80.79.54.36] helo=mail.opinioni.net) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UfPSH-0007TR-W4 for pgsql-performance@postgresql.org; Thu, 23 May 2013 06:57:00 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.opinioni.net (Postfix) with ESMTP id 443185DBD9A; Thu, 23 May 2013 08:56:57 +0200 (CEST) Received: from mail.opinioni.net ([127.0.0.1]) by localhost (opinioni.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xJLLTrxddCaU; Thu, 23 May 2013 08:56:57 +0200 (CEST) Received: from [192.168.1.50] (78-134-6-72.v4.ngi.it [78.134.6.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.opinioni.net (Postfix) with ESMTPS id E20A45DBD99; Thu, 23 May 2013 08:56:56 +0200 (CEST) Message-ID: <519DBDB2.2050106@opinioni.net> Date: Thu, 23 May 2013 08:56:50 +0200 From: Andrea Suisani User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Merlin Moncure CC: Greg Smith , Tomas Vondra , pgsql-performance@postgresql.org Subject: Re: Reliability with RAID 10 SSD and Streaming Replication References: <51957499.6050905@fuzzy.cz> <519991EB.8010208@2ndQuadrant.com> <519A8E29.60702@fuzzy.cz> <519C0EFD.9080002@2ndQuadrant.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 05/22/2013 03:30 PM, Merlin Moncure wrote: > On Tue, May 21, 2013 at 7:19 PM, Greg Smith wrote: >> On 5/20/13 6:32 PM, Merlin Moncure wrote: [cut] >> The only really huge gain to be had using SSD is commit rate at a low client >> count. There you can easily do 5,000/second instead of a spinning disk that >> is closer to 100, for less than what the battery-backed RAID card along >> costs to speed up mechanical drives. My test server's 100GB DC S3700 was >> $250. That's still not two orders of magnitude faster though. > > That's most certainly *not* the only gain to be had: random read rates > of large databases (a very important metric for data analysis) can > easily hit 20k tps. So I'll stand by the figure. Another point: that > 5000k commit raid is sustained, whereas a raid card will spectacularly > degrade until the cache overflows; it's not fair to compare burst with > sustained performance. To hit 5000k sustained commit rate along with > good random read performance, you'd need a very expensive storage > system. Right now I'm working (not by choice) with a teir-1 storage > system (let's just say it rhymes with 'weefax') and I would trade it > for direct attached SSD in a heartbeat. > > Also, note that 3rd party benchmarking is showing the 3700 completely > smoking the 710 in database workloads (for example, see > http://www.anandtech.com/show/6433/intel-ssd-dc-s3700-200gb-review/6). [cut] Sorry for interrupting but on a related note I would like to know your opinions on what the anandtech review said about 3700 poor performance on "Oracle Swingbench", quoting the relevant part that you can find here (*) [..] There are two components to the Swingbench test we're running here: the database itself, and the redo log. The redo log stores all changes that are made to the database, which allows the database to be reconstructed in the event of a failure. In good DB design, these two would exist on separate storage systems, but in order to increase IO we combined them both for this test. Accesses to the DB end up being 8KB and random in nature, a definite strong suit of the S3700 as we've already shown. The redo log however consists of a bunch of 1KB - 1.5KB, QD1, sequential accesses. The S3700, like many of the newer controllers we've tested, isn't optimized for low queue depth, sub-4KB, sequential workloads like this. [..] Does this kind of scenario apply to postgresql wal files repo ? Thanks andrea (*) http://www.anandtech.com/show/6433/intel-ssd-dc-s3700-200gb-review/5 -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance