IO scheduler problem.

Submitted by Anonymous
on March 14, 2005 - 4:10pm

I am having problem with the IO scheduler. Can anyone pls help?

here is an excerpt of my lilo.conf

image = /boot/vmlinuz26113
initrd = /boot/initrd.gz
append = "elevator=deadline"
root = /dev/hda1
label = kernel_2.6.11.3
read-only

# cat /sys/block/hda/queue/scheduler
noop [anticipatory] deadline cfq

how come deadline is not being chosen??

This works.
# echo deadline > /sys/block/hda/queue/scheduler
# cat /sys/block/hda/queue/scheduler
noop anticipatory [deadline] cfq

am i missing anything?? thanks in advance

I guess deadline just isn't a

Anonymous (not verified)
on
March 18, 2005 - 4:26am

I guess deadline just isn't always the best choice. (For servers under heavy load I'm told it is, but what about other situations?) If it is, why did you include the others in your kernel?

Err, oh, never mind, didn't r

Anonymous (not verified)
on
March 18, 2005 - 4:27am

Err, oh, never mind, didn't realy your whole post. :-(

(But what's wrong with manually setting the scheduler in your init scripts?)

nothing wrong with that. so w

Anonymous (not verified)
on
March 19, 2005 - 10:57pm

nothing wrong with that. so why put elevator as a kernel option if it can't be used?

Works fine with Grub, Geez it

Anonymous (not verified)
on
April 7, 2005 - 11:11pm

Works fine with Grub, Geez its 2005 you know. ;)

B.T.W. Did you run lilo after

Anonymous (not verified)
on
April 7, 2005 - 11:16pm

B.T.W. Did you run lilo after making changes to the config file?

It can't read minds like Grub, you know. ;)

i saw the same problem and

Anonymous (not verified)
on
February 23, 2007 - 4:06am

i saw the same problem and solved it as follows :-
recompile your kernel and make sure you have the fol. set in your .config file :-

CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y

so u can choose between diff schedulers next time..

dinamic use of io scheduler

Anonymous (not verified)
on
November 24, 2005 - 12:32am

I have a question:
if I have all three io scheduler compiled in the kernel, is possible to use all three dinamically or the kernel select only one?

thanks
Luca

There is a script to change t

Anonymous (not verified)
on
November 24, 2005 - 2:41am

There is a script to change the scheduler:
http://vivid.dat.pl/fallow/pub/scheduler_change_script

I'm not sure if it works with vanilla kernels but it does with my ck-patched one.

I have same problem regarding

Anonymous (not verified)
on
September 16, 2006 - 2:59am

I have same problem regarding the dynamic selection of IO schedulers !the link doesn't work! ....any other suggestions regarding?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.