Can I change the I/O scheduler for a particular disk without the system rebooting?

Updated -

As of Red Hat Enterprise Linux 5, it is possible to change the I/O scheduler for a given block device on the fly. This makes it possible to set the CFQ scheduler as the system default. It is recommended to set the device to use the anticipatory or noop schedulers, which can improve throughput.

To set a specific scheduler, simply do this:

#echo SCHEDNAME > /sys/block/DE...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.