pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndQuadrant.com>
To: pgsql-performance@postgresql.org
Subject: Re: Reliability with RAID 10 SSD and Streaming Replication
Date: Fri, 24 May 2013 08:11:53 -0400
Message-ID: <519F5909.7070000@2ndQuadrant.com> (raw)
In-Reply-To: <519D1232.4090701@optionshouse.com>
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>
	<519D1232.4090701@optionshouse.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 5/22/13 2:45 PM, Shaun Thomas wrote:
> 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.

That's basically it.  I don't know that I'd put the blame specifically 
onto a firmware issue without further evidence that's the case though. 
The last time I chased down a SSD performance issue like this it ended 
up being a Linux scheduler bug.  One thing I plan to do for future SSD 
tests is to try and replicate this issue better, starting by increasing 
the number of clients to at least 300.

Related:  if anyone read my "Seeking PostgreSQL" talk last year, some of 
my Intel 320 results there were understating the drive's worst-case 
performance due to a testing setup error.  I have a blog entry talking 
about what was wrong and how it slipped past me at 
http://highperfpostgres.com/2013/05/seeking-revisited-intel-320-series-and-ncq/

With that loose end sorted, I'll be kicking off a brand new round of SSD 
tests on a 24 core server here soon.  All those will appear on my blog. 
  The 320 drive is returning as the bang for buck champ, along with a DC 
S3700 and a Seagate 1TB Hybrid drive with NAND durable write cache.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com


-- 
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)

Message-ID: <519F5909.7070000@2ndQuadrant.com>
Permalink:  ../519F5909.7070000@2ndQuadrant.com/
Also on:    postgresql.org/message-id/519F5909.7070000@2ndQuadrant.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: greg@2ndQuadrant.com
  Subject: Re: Reliability with RAID 10 SSD and Streaming Replication
  In-Reply-To: <519F5909.7070000@2ndQuadrant.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