|
@@ -16,7 +16,7 @@ you can do so by typing:
|
|
As of the Linux 2.6.10 kernel, it is now possible to change the
|
|
As of the Linux 2.6.10 kernel, it is now possible to change the
|
|
IO scheduler for a given block device on the fly (thus making it possible,
|
|
IO scheduler for a given block device on the fly (thus making it possible,
|
|
for instance, to set the CFQ scheduler for the system default, but
|
|
for instance, to set the CFQ scheduler for the system default, but
|
|
-set a specific device to use the anticipatory or noop schedulers - which
|
|
|
|
|
|
+set a specific device to use the deadline or noop schedulers - which
|
|
can improve that device's throughput).
|
|
can improve that device's throughput).
|
|
|
|
|
|
To set a specific scheduler, simply do this:
|
|
To set a specific scheduler, simply do this:
|
|
@@ -31,7 +31,7 @@ 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/hda/queue/scheduler
|
|
-noop anticipatory deadline [cfq]
|
|
|
|
-# echo anticipatory > /sys/block/hda/queue/scheduler
|
|
|
|
|
|
+noop deadline [cfq]
|
|
|
|
+# echo deadline > /sys/block/hda/queue/scheduler
|
|
# cat /sys/block/hda/queue/scheduler
|
|
# cat /sys/block/hda/queue/scheduler
|
|
-noop [anticipatory] deadline cfq
|
|
|
|
|
|
+noop [deadline] cfq
|