kernel IO schedulers

Jerry McBride mcbrides9
Fri Dec 31 13:41:03 PST 2004


 On Thursday 30 December 2004 14:58, Net Llama! wrote:
 > I could be wrong, but I think that in 2.6.10 there's a choice of several
 > different schedulers in the kernel:
 >
 > # IO Schedulers
 > #
 > CONFIG_IOSCHED_NOOP=y
 > CONFIG_IOSCHED_AS=y
 > CONFIG_IOSCHED_DEADLINE=y
 > CONFIG_IOSCHED_CFQ=y
 >
 > What I'm wondering is what happens if you chose Y for all of them (as
 > above)?
 >
 > The reason I'm asking is that I did choose Y for all of them, and now in
 > 2.6.10 (but not in earlier kernels) i'm getting some horrific
 > performance in X (XFCE specifically).  Scrolling in windows is sluggish,
 > sometimes even typing gets lagged.  I'm starting to think that I was
 > supposed to choose just one of the schedulers, but I'd like some input.

Clicking yes, makes them available in the kernel. At boot time, make your 
scheduler choice as a kernel parameter like:

 elevator= [IOSCHED]
   Format: {"as"|"cfq"|"deadline"|"noop"}
   See Documentation/block/as-iosched.txt
   and Documentation/block/deadline-iosched.txt for details.

The default scheduler is deadline.

Cheers.


-- 

******************************************************************************
                     Registered Linux User Number 185956
              FSF Associate Member number 2340 since 05/20/2004
             Join me in chat at #linux-users on irc.freenode.net
    Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
     1:20pm  up 82 days, 21:06,  8 users,  load average: 0.10, 0.13, 0.09


More information about the Linux-users mailing list