No. A correctly operating raid understand that modern HDDs have ECC and
such and can report when the data is unreadable. There is no need to read
the data twice.
> > Almost all other raid levels perform worse (like raid 5 where the fastest
> > write takes 2 reads 1 block XOR and 1 write).
> You are talking about latency, not thoroughput. Read up on RAID, RAID-0 is
> not the only version of RAID with performance advantages.
>
> > The fastest raid array is a combo of raid-0(striping) and raid-1.
> Why would this be faster than just RAID-0?
Take four drives. Here are raid-0 block numbers:
d1 d2 d3 d4
1 2 3 4
5 6 7 8
9 10 11 12
Now read blocks 1,5,9. Wow the performance is that of one drive.
Now raid-0+raid-1
d1 d2 d3 d4
1 1 2 2
3 3 4 4
5 5 6 6
7 7 8 8
9 9 10 10
Now read block 1,5,9.. Geez 1,5 are read in parallel!
Also comapir reading 1,5,2,6 All are read in parallel.
Raid 1 guanrees a doubling of read throughtput and slightly degrades
writeing.
Raid 0 gives you a chance of speed improvement (for 2 drives, 2x is 50%)
for both read and write.
Raid0+1 increases your chances of improving speed, and really doesn't hurt
write over a two disk raid 0.. The price is lost storage, the advantage is
speed and redundancy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/