Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UfE2k-0003wX-TR for pgsql-performance@arkaria.postgresql.org; Wed, 22 May 2013 18:45:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UfE2k-0007bI-C6 for pgsql-performance@arkaria.postgresql.org; Wed, 22 May 2013 18:45:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UfE2i-0007aP-Tm for pgsql-performance@postgresql.org; Wed, 22 May 2013 18:45:44 +0000 Received: from smtp.optionshouse.com ([38.98.137.6] helo=smtp.peak6.com) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UfE29-0004Aa-Rv for pgsql-performance@postgresql.org; Wed, 22 May 2013 18:45:44 +0000 X-AuditID: 0a64cb20-b7f736d00000266a-eb-519d1232d12e Message-ID: <519D1232.4090701@optionshouse.com> Date: Wed, 22 May 2013 13:45:06 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: David Boreham CC: 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> <519CD3BD.3010305@2ndQuadrant.com> <519D0107.4000600@boreham.org> In-Reply-To: <519D0107.4000600@boreham.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.201.64] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKIsWRmVeSWpSXmKPExsXClcIrpmssNDfQYHozs8X7ZcfYLK7PPMfs wOTxfNMtNo8L+6axBzBFNTDaJObl5ZcklqQqpKQWJ9sq+ReUZObnFXvklxanKrhkFifnJGbm phYpKWSm2CoZKykU5CQmp+am5pXYKiUWFKTmpSjZcSlgABugssw8hdS85PyUzLx0WyXPYH9d CwtTS11DJbt4ZJDQyZKxdI99wQauiv1LHrI3MDZzdDFyckgImEhMb33OBGGLSVy4t54NxOYV 0Jc41DgdLM4ioCqxavNKMJtNQFdiUv8KsBohARWJvrM3wOL8AsIS+z40MYPYogJhEu+XTWWF mCMocXLmExYQW0RAS2L6pptgNrOAmsTch5PAaoQFfCVmXV7EDjFzBrPE3K/+IDangLbE8eun 2SDqbSUuzLkO1Ssvsf3tHGaIelWJFc0T2SDuV5D4f+Ud0wRGoVlIVs9C0j4LSfsCRuZVjOLF ZYnJGZmmBcW5JQVGegWpidlmenmpJZsYwXF7WmEH4/dOq0OMAhyMSjy8BXfnBAqxJpYVV+Ye YpTgYFYS4c36CxTiTUmsrEotyo8vKs1JLT7E6AMMs4nMUqLJ+cCUklcSb2hsamBqaWpoam5q aIRDWEmcd9alpkAhgXRgIslOTS1ILYIZx8TBKdXAuP6tr/clhQt7vs1xvt8R9O1aV8q9GJE0 wfNNK3Ozpp6sWc17rOFqy8EP2265X1X2tf+zZu2c7Z/D9whpPZmas+CbYszixWKpQpYPVO++ etUrsrI97chVuesBtmxLdyr/rVr/vv/JlBURTsEz/kduiBQ/HjDTW/ozbx7frKrOjf8PiT3w /8i/7rgSS3FGoqEWc1FxIgAgMniCCAMAAA== X-Pg-Spam-Score: -3.0 (---) 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 12:31 PM, David Boreham wrote: >> Device: r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util >> sdd 2702.80 19.40 19.67 0.16 14.91 273.68 71.74 0.37 100.00 >> sdd 2707.60 13.00 19.53 0.10 14.78 276.61 90.34 0.37 100.00 >> >> That's an Intel 710 being crushed by a random read database server >> workload, unable to deliver even 3000 IOPS / 20MB/s. I have hours of >> data like this from several servers. > > This is interesting. Do you know what it is about the workload that > leads to the unusually low rps ? That read rate and that throughput suggest 8k reads. The queue size is 270+, which is pretty high for a single device, even when it's an SSD. Some SSDs seem to break down on queue sizes over 4, and 15 sectors spread across a read queue of 270 is pretty hash. The drive tested here basically fell over on servicing a huge diverse read queue, which suggests a firmware issue. Often this is because the device was optimized for sequential reads and post lower IOPS than is theoretically possible so they can advertise higher numbers alongside consumer-grade disks. They're Greg's disks though. :) -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-676-8870 sthomas@optionshouse.com ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance