cgroup: Add footnote to io.weight.
This commit is contained in:
parent
6537bdc0b9
commit
fa77f6868c
|
@ -102,7 +102,7 @@ the example do, exactly?
|
||||||
- *cpu.weight* is the relative amount of CPU cycles the cgroup is getting under
|
- *cpu.weight* is the relative amount of CPU cycles the cgroup is getting under
|
||||||
load. The CPU cycles are distributed by adding up the weights of all _active_
|
load. The CPU cycles are distributed by adding up the weights of all _active_
|
||||||
children and giving each the fraction matching the ratio of its weight against
|
children and giving each the fraction matching the ratio of its weight against
|
||||||
the sum.footnote:[link:{url-kernel-doc}#weights[Kernel documentation on
|
the sum.footnote:weight[link:{url-kernel-doc}#weights[Kernel documentation on
|
||||||
Control Group v2, section “Resource Distribution Models” → “Weights”]] It has
|
Control Group v2, section “Resource Distribution Models” → “Weights”]] It has
|
||||||
a range from 1 to 10,000. If one process has a weight of 3,000 and the only
|
a range from 1 to 10,000. If one process has a weight of 3,000 and the only
|
||||||
other active process has a weight of 7,000, the former will get 30% and the
|
other active process has a weight of 7,000, the former will get 30% and the
|
||||||
|
@ -189,9 +189,9 @@ echo "$$" > cgroup.procs
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
- *io.weight* specifies the relative amount of IO time the cgroup can use in
|
- *io.weight* specifies the relative amount of IO time the cgroup can use in
|
||||||
relation to its siblings and has a range from 1 to 10,000. The priority can
|
relation to its siblings and has a range from 1 to 10,000.footnote:weight[]
|
||||||
be overridden for individual devices with the major:minor syntax, like “8:0
|
The priority can be overridden for individual devices with the major:minor
|
||||||
90”. The default is value is 100.
|
syntax, like “8:0 90”. The default is value is 100.
|
||||||
- *io.max* limits bytes per second (_rbps/wbps_) and/or IO operations per second
|
- *io.max* limits bytes per second (_rbps/wbps_) and/or IO operations per second
|
||||||
(_riops/wiops_).
|
(_riops/wiops_).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue