Friday, April 25, 2014

Change IO Scheduler/elevator on a linux server.

Here is a quick how to to change IO Scheduler/elevator on a Linux server and to get some performance enhancement (courtesy from Linbit).

cat /sys/block/sd*/queue/scheduler
echo deadline|tee /sys/block/sd*/queue/scheduler

 echo 0       | tee /sys/block/sd*/queue/iosched/front_merges
 echo 150   | tee /sys/block/sd*/queue/iosched/read_expire
 echo 1500 | tee /sys/block/sd*/queue/iosched/write_expire

More can be read here and here to find out more why I choose deadline.

HTH
Brent

No comments:

Post a Comment