pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Mielke <mark@mark.mielke.cc>
To: david@lang.hm
Cc: Florian Weimer <fw@deneb.enyo.de>
Cc: Fernando Hevia <fhevia@ip-tel.com.ar>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: With 4 disks should I go for RAID 5 or RAID 10
Date: Wed, 26 Dec 2007 16:57:08 -0500
Message-ID: <4772CE34.2040608@mark.mielke.cc> (raw)
In-Reply-To: <Pine.LNX.4.64.0712261504310.11785@asgard.lang.hm>
References: <0f8201c847f6$08e15090$8f01010a@iptel.com.ar>
	<Pine.LNX.4.64.0712261317320.11785@asgard.lang.hm>
	<87zlvxnpkl.fsf@mid.deneb.enyo.de>
	<4772CA58.5050406@mark.mielke.cc>
	<Pine.LNX.4.64.0712261504310.11785@asgard.lang.hm>

david@lang.hm wrote:
> On Wed, 26 Dec 2007, Mark Mielke wrote:
>
>> Florian Weimer wrote:
>>>> seek/read/calculate/seek/write since the drive moves on after the
>>>> read), when you read you must read _all_ drives in the set to check
>>>> the data integrity.
>>> I don't know of any RAID implementation that performs consistency
>>> checking on each read operation. 8-(
>> Dave had too much egg nog... :-)
>> Yep - checking consistency on read would eliminate the performance 
>> benefits of RAID under any redundant configuration.
> except for raid0, raid is primarily a reliability benifit, any 
> performance benifit is incidental, not the primary purpose.
> that said, I have heard of raid1 setups where it only reads off of one 
> of the drives, but I have not heard of higher raid levels doing so.
What do you mean "heard of"? Which raid system do you know of that reads 
all drives for RAID 1?

Linux dmraid reads off ONLY the first. Linux mdadm reads off the "best" 
one. Neither read from both. Why should it need to read from both? What 
will it do if the consistency check fails? It's not like it can tell 
which disk is the right one. It only knows that the whole array is 
inconsistent. Until it gets an actual hardware failure (read error, 
write error), it doesn't know which disk is wrong.

Cheers,
mark

-- 
Mark Mielke <mark@mielke.cc>



view thread (37+ messages)  latest in thread

Message-ID: <4772CE34.2040608@mark.mielke.cc>
Permalink:  ../4772CE34.2040608@mark.mielke.cc/
Also on:    postgresql.org/message-id/4772CE34.2040608@mark.mielke.cc

 · 

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: mark@mark.mielke.cc, david@lang.hm, fw@deneb.enyo.de, fhevia@ip-tel.com.ar
  Subject: Re: With 4 disks should I go for RAID 5 or RAID 10
  In-Reply-To: <4772CE34.2040608@mark.mielke.cc>

* 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