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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content