pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Steve Atkins <steve@blighty.com>
Cc: PostgreSQL General <pgsql-general@postgresql.org>
Cc: Pgsql-Performance ((E-mail)) <pgsql-performance@postgresql.org>
Subject: Re: [PERFORM] Arguments Pro/Contra Software Raid
Date: Tue, 09 May 2006 14:04:08 -0500
Message-ID: <1147201448.9755.16.camel@state.g2switchworks.com> (raw)
In-Reply-To: <4F853BBA-175C-4B3E-BAF4-AA34B80DF6EF@blighty.com>
References: <e3pmkc$12mk$1@news.hub.org>
	<473FC220-A52C-4954-81E9-A14ED33164C2@blighty.com>
	<4460BA8B.7010600@commandprompt.com>
	<4F853BBA-175C-4B3E-BAF4-AA34B80DF6EF@blighty.com>

On Tue, 2006-05-09 at 12:52, Steve Atkins wrote:
> On May 9, 2006, at 8:51 AM, Joshua D. Drake wrote:
> 
> ("Using SATA drives is always a bit of risk, as some drives are lying  
> about whether they are caching or not.")
> 
> >> Don't buy those drives. That's unrelated to whether you use hardware
> >> or software RAID.
> >
> > Sorry that is an extremely misleading statement. SATA RAID is  
> > perfectly acceptable if you have a hardware raid controller with a  
> > battery backup controller.
> 
> If the drive says it's hit the disk and it hasn't then the RAID  
> controller
> will have flushed the data from its cache (or flagged it as correctly
> written). At that point the only place the data is stored is in the non
> battery backed cache on the drive itself. If something fails then you'll
> have lost data.
> 
> You're not suggesting that a hardware RAID controller will protect
> you against drives that lie about sync, are you?

Actually, in the case of the Escalades at least, the answer is yes. 
Last year (maybe a bit more) someone was testing an IDE escalade
controller with drives that were known to lie, and it passed the power
plug pull test repeatedly.  Apparently, the escalades tell the drives to
turn off their cache.  While most all IDEs and a fair number of SATA
drives lie about cache fsyncing, they all seem to turn off the cache
when you ask.

And, since a hardware RAID controller with bbu cache has its own cache,
it's not like it really needs the one on the drives anyway.



view thread (49+ messages)  latest in thread

Message-ID: <1147201448.9755.16.camel@state.g2switchworks.com>
Permalink:  ../1147201448.9755.16.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1147201448.9755.16.camel@state.g2switchworks.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: smarlowe@g2switchworks.com, steve@blighty.com, pgsql-general@postgresql.org
  Subject: Re: [PERFORM] Arguments Pro/Contra Software Raid
  In-Reply-To: <1147201448.9755.16.camel@state.g2switchworks.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