RAID-3?

Greg 'groggy' Lehey grog at FreeBSD.org
Thu Aug 19 00:37:37 PDT 2004


On Thursday, 19 August 2004 at  9:16:08 +0200, Poul-Henning Kamp wrote:
> In message <20040819070716.GS85432 at wantadilla.lemis.com>, "Greg 'groggy' Lehey"
>  writes:
>
>>> Every write takes exactly the same amount of time.
>>
>> Which, including aggregate seek time, is longer than for RAID-5,
>> because more disks are involved.
>
> RAID3 is within epsilon of the single disk because all the disks
> work in unison.

Exactly the point I'm trying to make.  For multiple transfers, all
other RAID forms are faster than a single disk.

> (Spindle-sync is a good idea btw).

It can't harm.  But how much difference does it make with modern
cached drive?

>>> There is no waiting for data to be read off of any disks.
>>
>> Sure there is.  There's always waiting for data to be read off disks.
>> That's part of the way disks are built.  You've got to seek first,
>> then you've got to get the head over the data.  That's why I said that
>> RAID-3 is only useful for sequential transfers.
>
> You're wrong.  RAID-3 is good for normal usage.  The point is that
> you don't have to do the complicated "I have disk1 in my cache but
> that is not the parity and not the one I'm writing so I need to
> read 2,3 and the parity which is 4 and then write my data to disk
> 5 and calculate and update the parity on 4" dance.

Agreed.  Easier on the programmer.  The user pays.

> RAID3 works by:
>
>     A write-request:
> 	...
>
>     A read-request:
> 	...

Yes, I know all this, once we've accepted that we are no longer
dealing with the real RAID-3, but a modified version.  It has in
common with the original RAID-3 that while we're doing this, the other
requests are waiting for us to get our act together.

> 	read parity from disk5 and check

Really check every time?   I would have thought you'd only use the
parity disk if one of the other ones had gone down.

> And that is _all_ there is to it.

"What you see is all you get".

>> Note, of course, that RAID-5 is relatively good on reading.  The big
>> disadvantage of RAID-5 is when you write.
>
> RAID3 doesn't suffer and is very predictable in either mode.

As I pointed out earlier, predictability and performance are two different
kettles of fish.

>> Of course it has.  Once you spread your data out over more than one
>> disk, you need some kind of mapping.  What we're talking about here
>> appears to be an implicit one sector stripe size, though the original
>> paper talked of a stripe size of one byte.
>
> Forget the original paper.

Why?

> Original papers are full of things people have not found out yet.

I'm not sure how to interpret this.

Greg
--
Note: I discard all HTML mail unseen.
Finger grog at FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040819/60dfcefc/attachment.bin


More information about the cvs-all mailing list