Skip to contentSkip to conversation

Time sliced CFQ io scheduler

DISCUSSION Chuck Ebbert 1 participant 1 message Dec 3, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · On Fri, 3 Dec 2004 at 11:31:30 +0100 Jens Axboe wrote:
Quoted 3 lines

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