pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@optionshouse.com>
To: David Boreham <david_list@boreham.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Reliability with RAID 10 SSD and Streaming Replication
Date: Wed, 22 May 2013 13:45:06 -0500
Message-ID: <519D1232.4090701@optionshouse.com> (raw)
In-Reply-To: <519D0107.4000600@boreham.org>
References: <CAAE-9WHMycEZOB5J6HKME5AZLEdL2hYF+FV8hzbLksJinq=EJg@mail.gmail.com>
	<51957499.6050905@fuzzy.cz>
	<519991EB.8010208@2ndQuadrant.com>
	<519A8E29.60702@fuzzy.cz>
	<CAHyXU0wvW-USgbkXAYEHLG2fHgj=UdZi1aCFoVWBMQEsOFZy+A@mail.gmail.com>
	<519C0EFD.9080002@2ndQuadrant.com>
	<CAHyXU0ymFT7Sqw77yPryGWKEpjV4Wv9Vkc21vGtPKo0GZWGg8A@mail.gmail.com>
	<519CD3BD.3010305@2ndQuadrant.com>
	<519D0107.4000600@boreham.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

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



view thread (52+ messages)  latest in thread

Message-ID: <519D1232.4090701@optionshouse.com>
Permalink:  ../519D1232.4090701@optionshouse.com/
Also on:    postgresql.org/message-id/519D1232.4090701@optionshouse.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sthomas@optionshouse.com, david_list@boreham.org
  Subject: Re: Reliability with RAID 10 SSD and Streaming Replication
  In-Reply-To: <519D1232.4090701@optionshouse.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox