Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 16:37:16 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Scott Long <scottl@samsco.org>
Cc:        Wilko Bulte <wb@freebie.xs4all.nl>
Subject:   Re: RAID-3?
Message-ID:  <20040819070716.GS85432@wantadilla.lemis.com>
In-Reply-To: <41244F17.9030007@samsco.org>
References:  <20040817124020.GK88156@wantadilla.lemis.com> <20040817131612.GT30151@darkness.comp.waw.pl> <20040819024359.GA85432@wantadilla.lemis.com> <41244217.6010102@samsco.org> <20040819062228.GO85432@wantadilla.lemis.com> <20040819062848.GM99980@funkthat.com> <20040819063843.GP85432@wantadilla.lemis.com> <20040819064401.GN99980@funkthat.com> <20040819065155.GR85432@wantadilla.lemis.com> <41244F17.9030007@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--4PJudQiuYY5+cwwi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thursday, 19 August 2004 at  0:56:23 -0600, Scott Long wrote:
> Greg 'groggy' Lehey wrote:
>> On Wednesday, 18 August 2004 at 23:44:01 -0700, John-Mark Gurney wrote:
>>
>>> I originaly was working on a RAID-3 module (which is possibly where
>>> pjd got his idea) that used Luigi's FEC code.  The advantage of this
>>> code was the fact that you could have n parity disks beyond the m
>>> data disks.  The advantage of this was that you could loose any n
>>> disks, and your data is still recoverable.  Unlike with RAID-4/5
>>> implementations where if you happen to loose a second disk (due to a
>>> power surge or something) while rebuilding, you'd be SOL.  That type
>>> of redundancy is good thing to have.
>>
>> I can see that as a great advantage, but it's not part of the RAID-3
>> definition, and I can't see why you couldn't expand RAID-5 in a
>> similar manner.  Am I missing something?
>
> Yes, you are!  The advantage of RAID-3 is that there are NO
> Read-Modify-Write cycles when writing blocks.

I didn't miss that, but it has nothing to do with what jmg said.
Still, let's address your statement:

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

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

Note, of course, that RAID-5 is relatively good on reading.  The big
disadvantage of RAID-5 is when you write.

> That is why it's nice to applications that require fixed latency.
> RAID-3 has no concept of stripe sizes becuase of this, unlike 4 and
> 5.

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.

Greg
--
Note: I discard all HTML mail unseen.
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.

--4PJudQiuYY5+cwwi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQFBJFGkIubykFB6QiMRAqEaAKCuYc5x0IHnYZRBBiwaZfrnQtZtqwCgkT6B
/+nQYr1v72CKOibPEAicexE=
=Is7U
-----END PGP SIGNATURE-----

--4PJudQiuYY5+cwwi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819070716.GS85432>