In-Reply-To: <[email protected]>
On Sun, 16 Jul 2006 09:38:25 -0700, Jonathan Baccash wrote:
> > Each head has to service 1024 write requests (compared to just 512 read
> > requests).
>
> By that logic, it would take twice as long for my writes to finish.
> Why is it taking 4x as long in my parallel test?
Because a single read not only goes to just one disk, it is sent to
the disk with the lowest expected seek time for that request. This
cuts average read time in half, on average.
(See drivers/md/raid1.c::read_balance().)
> I would expect a raid-1 write
> to take about as long to write a single block as a single write to a
> single disk (assuming no other disk activity), because I would expect
> two writes to happen concurrently.
You didn't post any benchmarks showing results for single write to a
single disk.
--
Chuck
Think. Or you will be replaced with a small shell script. --dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]