cgroup: Add footnote to io.weight.

This commit is contained in:
tastytea 2021-07-21 23:49:11 +02:00
parent 6537bdc0b9
commit fa77f6868c
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ the example do, exactly?
- *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_
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
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
@ -189,9 +189,9 @@ echo "$$" > cgroup.procs
--------------------------------------------------------------------------------
- *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
be overridden for individual devices with the major:minor syntax, like “8:0
90”. The default is value is 100.
relation to its siblings and has a range from 1 to 10,000.footnote:weight[]
The priority can be overridden for individual devices with the major:minor
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
(_riops/wiops_).