summaryrefslogtreecommitdiffstats
path: root/schedutils/ionice.1
diff options
context:
space:
mode:
authorKarel Zak2009-11-18 17:13:35 +0100
committerKarel Zak2009-11-18 17:13:35 +0100
commit75c1d2aee67c3adfab4d653fd1f2459f20f34e98 (patch)
tree815f06bb04ba3b7cd1ce755aa24688c620fda5cd /schedutils/ionice.1
parentmount: add a note about bind-dir remounts (diff)
downloadkernel-qcow2-util-linux-75c1d2aee67c3adfab4d653fd1f2459f20f34e98.tar.gz
kernel-qcow2-util-linux-75c1d2aee67c3adfab4d653fd1f2459f20f34e98.tar.xz
kernel-qcow2-util-linux-75c1d2aee67c3adfab4d653fd1f2459f20f34e98.zip
ionice: add a note about none class and CFQ
Reported-by: Corrado Zoccolo <czoccolo@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils/ionice.1')
-rw-r--r--schedutils/ionice.115
1 files changed, 10 insertions, 5 deletions
diff --git a/schedutils/ionice.1 b/schedutils/ionice.1
index e104f2bae..fcac8957c 100644
--- a/schedutils/ionice.1
+++ b/schedutils/ionice.1
@@ -37,11 +37,16 @@ This class takes a priority argument from \fI0-7\fR, with lower
number being higher priority. Programs running at the same best effort
priority are served in a round-robin fashion.
-A process that has not asked for an io priority formally uses "\fBnone\fP" as
-scheduling class, but the io scheduler will treat such processes as if it
-were in the best effort class. The priority within the best effort class will
-be dynamically derived from the cpu nice level of the process: io_priority =
-(cpu_nice + 20) / 5.
+Note that before kernel 2.6.26 a process that has not asked for an io priority
+formally uses "\fBnone\fP" as scheduling class, but the io scheduler will treat
+such processes as if it were in the best effort class. The priority within the
+best effort class will be dynamically derived from the cpu nice level of the
+process: io_priority = (cpu_nice + 20) / 5.
+
+For kernels after 2.6.26 with CFQ io scheduler a process that has not asked for
+an io priority inherits CPU scheduling class. The io priority is derived from
+the cpu nice level of the process (same as before kernel 2.6.26).
+
.IP "\fBReal time\fP"
The RT scheduling class is given first access to the disk, regardless of
what else is going on in the system. Thus the RT class needs to be used with