Skip to main content



Linux kernel 2.6 - I/O scheduler

developerWorks

   Recommendations  |   HOWTO & tools  |   Results

How to identify which I/O scheduler is used
How to select the scheduler




How to identify which I/O scheduler is used

Searching (grep) in file /var/log/boot.msg for phrase 'io scheduler' will find a line like:

<4>Using deadline io scheduler

which returns the name of the scheduler in use.


Back to top


How to select the scheduler

The I/O scheduler is selected with the boot parameter elevator in zipl.conf

[ipl]
target = /boot/zipl
image = /boot/image
ramdisk = /boot/initrd
parameters = "maxcpus=8 dasd=5000 root=/dev/dasda1 elevator=deadline"

where elevator ::= as | deadline | cfq | noop

For more details see /usr/src/linux/Documentation/kernel-parameters.txt.


Back to top



Team
Please address any comments to the performance team: linux390@de.ibm.com