Greg wrote:
> Hmmm, if I'm doing my calculations right I'm getting almost 40MB/s for
> RAID-1 which should be slower than RAID-0, shouldn't it?

I'm not sure what you mean by "my calculations".  In your earlier mail you 
wrote:

> [EMAIL PROTECTED]:/home/ethant# dd if=/dev/zero of=/dev/rsd1c bs=64k 
> count=4096
> 4096+0 records in
> 4096+0 records out
> 268435456 bytes transferred in 6.441 secs (41674946 bytes/sec)

dd is kind enough to tell you the b/w :)  I guess you mean this.

RAID-1, mirroring, is *not necessarily* slower than RAID-0, striping.  
Somewhere,
something has to issue two write operations, one to each mirror, and then wait
for both to finish before announcing that the I/O is finished.  This may take
a bit more time compared to a single disk, but it shouldn't be much.  If you
have multiple disks in a RAID-0 array, that should be much faster, of course.

Rob Urban

Reply via email to