Commit 8614b008 authored by Andreas Herrmann's avatar Andreas Herrmann Committed by Jens Axboe

block/switching-sched.txt: Update to blk-mq schedulers

Remove references to CFQ and legacy block layer which are gone.
Update example with what's available under blk-mq.
Signed-off-by: default avatarAndreas Herrmann <aherrmann@suse.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 154085ff
...@@ -13,11 +13,9 @@ you can do so by typing: ...@@ -13,11 +13,9 @@ you can do so by typing:
# mount none /sys -t sysfs # mount none /sys -t sysfs
As of the Linux 2.6.10 kernel, it is now possible to change the It is possible to change the IO scheduler for a given block device on
IO scheduler for a given block device on the fly (thus making it possible, the fly to select one of mq-deadline, none, bfq, or kyber schedulers -
for instance, to set the CFQ scheduler for the system default, but which can improve that device's throughput.
set a specific device to use the deadline or noop schedulers - which
can improve that device's throughput).
To set a specific scheduler, simply do this: To set a specific scheduler, simply do this:
...@@ -30,8 +28,8 @@ The list of defined schedulers can be found by simply doing ...@@ -30,8 +28,8 @@ The list of defined schedulers can be found by simply doing
a "cat /sys/block/DEV/queue/scheduler" - the list of valid names a "cat /sys/block/DEV/queue/scheduler" - the list of valid names
will be displayed, with the currently selected scheduler in brackets: will be displayed, with the currently selected scheduler in brackets:
# cat /sys/block/hda/queue/scheduler # cat /sys/block/sda/queue/scheduler
noop deadline [cfq] [mq-deadline] kyber bfq none
# echo deadline > /sys/block/hda/queue/scheduler # echo none >/sys/block/sda/queue/scheduler
# cat /sys/block/hda/queue/scheduler # cat /sys/block/sda/queue/scheduler
noop [deadline] cfq [none] mq-deadline kyber bfq
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment