Re: Time sliced CFQ io scheduler
From: Chuck Ebbert
Date: Fri Dec 03 2004 - 15:58:23 EST
On Fri, 3 Dec 2004 at 11:31:30 +0100 Jens Axboe wrote:
>> Yeas, I have linux raid (testing md1). Have appield both settings on
>> both drives and got a interesting new pattern: Now it alternates. My
>> email client is still not usale while writing though...
>
> Funky. It looks like another case of the io scheduler being at the wrong
> place - if raid sends dependent reads to different drives, it screws up
> the io scheduling. The right way to fix that would be to io scheduler
> before raid (reverse of what we do now), but that is a lot of work. A
> hack would be to try and tie processes to one md component for periods
> of time, sort of like cfq slicing.
How about having the raid1 read balance code send each read to every drive
in the mirror, and just take the first one that returns data? It could then
cancel the rest, or just ignore them... ;)
--Chuck Ebbert 03-Dec-04 15:43:54
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/