Managing Schedulers
From Zanecorpwiki
Newer versions of Linux support selectable scheduling routines. This can be very useful in optimizing system performance for different tasks. Specifically, optimizing database systems.
To see which scheduler is currently selected, type:
cat /sys/block/lt;device namegt;/queue/scheduler
This should print the name of all available schedulers, with the currently selected scheduler in brackets, like:
noop anticipatory deadline [cfq]
To change the scheduler, echo the name of the scheduler into the same location:
echo deadline /sys/block/lt;device namegt;/queue/scheduler


