Thursday, March 05, 2009

Changing IO Scheduler on the fly in Linux/Ubuntu

I had some issues with one server and one sane approach is to change IO Scheduler
that could bring more performance if you have Raid or performance depends of file system also disk controller

The drive was sda

so here is what is available
cat /sys/block/$devicename/queue/scheduler

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

to change it to that from cfq i had to

# echo noop > /sys/block/sda/queue/scheduler

And now is time to do some benchmarks :)

No comments: