Skip to contentSkip to conversation

optimal IO scheduler choice?

DISCUSSION Louis-David Mitterrand 3 participants 3 messages Dec 13, 2007 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi,

after reading some interesting suggestions on kernel tuning at:

http://hep.kbfi.ee/index.php/IT/KernelTuning

I am wondering whether 'deadline' is indeed the best IO scheduler (vs. anticipatory and cfq) for a soft raid5/6 partition on a server?

What is the common wisdom on the subject among linux-raid users and developers?

Thanks,

#1 lore raw
Quoted 9 lines · Louis-David Mitterrand

Hi,

after reading some interesting suggestions on kernel tuning at:

http://hep.kbfi.ee/index.php/IT/KernelTuning

I am wondering whether 'deadline' is indeed the best IO scheduler (vs. anticipatory and cfq) for a soft raid5/6 partition on a server?

Quoted 9 lines

What is the common wisdom on the subject among linux-raid users and developers?

Thanks,
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I have found anticipatory to be the fastest.

http://home.comcast.net/~jpiszcz/sched/cfq_vs_as_vs_deadline_vs_noop.html

Sequential:
Output of CFQ: (horrid): 311,683 KiB/s
Output of AS: 443,103 KiB/s

Input CFQ is a little faster.

It depends on your workload I suppose.

Justin.

#2 lore raw
Quoted 3 lines · Justin Piszcz

Sequential:
Output of CFQ: (horrid): 311,683 KiB/s
Output of AS: 443,103 KiB/s

OTOH AS had worse latencies than CFQ AFAIR (it was quite some time ago I last experimented). So it depends on what do you want to optimize for.

Gabor

Signature · 4 lines
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------