* Re: RAID 0+1 faster than RAID 5 ? How much faster?
[not found] <7av07j$hqn$1@charm.magnus.acs.ohio-state.edu>
@ 1999-02-24 5:00 ` Nikola Milutinovic
0 siblings, 0 replies; only message in thread
From: Nikola Milutinovic @ 1999-02-24 5:00 UTC (permalink / raw)
Steen Hansen wrote:
>
> I have a RAID 310 disk array, configured for RAID 5. It is used in a mixed
> read and write environment, with a lot of random traffic.
>
> I have read a number of places that RAID 0+1 works faster, for these reasons:
>
> - Less overhead for writes
> - Reads can be done alternating between the two halfs of the mirror, in
> effect doubling the capacity
>
> I have not seen any data indicating HOW much faster one can expect it to work.
> Sure, it depends a lot on how they are used, but some anecdotes would be
> nice to hear.
RAID 5
------
Requires n + 1 disks. For every n stripes (stripe = m * block), there is an
additional CHKsum stripe. All these n+1 stripes are writen to all n+1 disks, as
paralelly, as SCSI configuration would permit. If all disks have separate SCSI
channels, then it can be done totally in paralel.
Requires processing power for that CHKsum operation - usually in a form of a
special controller card. For instance, we have Mylex RAID and it has a RISC
microprocessor on it, Intel i960.
RAID 0
------
Requres n disks. Performs a simple stripping.
RAID 1
------
Requires 2 disks. Performs mirroring. Usually, doesn't require awsome computing
power.
RAID 0+1
--------
Requires 2 * n disks. Performs stripping upon mirrored pairs of disks. Again,
not a processor hog.
--------
So, it looks like RAID 0+1 is faster than RAID 5.
But, think again. All the overhead of RAID 5 is USUALLY handled by a specially
designed RAID controller, which should have enough computing power on it.
Remember, disk operations are much slower than memory/processor operations. Even
if you have all disks on separate SCSI channels, the on-board processor should
be fast enough.
The only advantage I can see in RAID 0+1 is that it can theoretically survive n
disk failures, where RAID 5 can survive only 1. Of course, if both disks from a
disk pair in RAID 0+1 crash, you're gone. Speed can be greatly achieved through
sufficient on-controller cache.
We have Mylex 3-channel RAID SCSI controller in RAID 5 scheme and we perform
monthly backups on DAT.
^ permalink raw reply [flat|nested] only message in thread