From 4ad9a70616f3078871cbd79b023f1d7e203d4dbf Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 27 Nov 2016 14:44:24 +0100 Subject: [PATCH] cgroups.7: Add details on 'cpu' CFS bandwidth control Signed-off-by: Michael Kerrisk --- man7/cgroups.7 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man7/cgroups.7 b/man7/cgroups.7 index 324eba0a9..225821039 100644 --- a/man7/cgroups.7 +++ b/man7/cgroups.7 @@ -241,7 +241,17 @@ kernel configuration option. Cgroups can be guaranteed a minimum number of "CPU shares" when a system is busy. This does not limit a cgroup's CPU usage if the CPUs are not busy. +For further information, see +.IR Documentation/scheduler/sched-design-CFS.txt . +In Linux 3.2, +this controller was extended to provide CPU "bandwidth" control. +If the kernel is configured with +.BR COONFIG_CFS_BANDWIDTH , +then within each scheduling period +(defined via a file in the cgroup directory), it is possible to define +an upper limit on the CPU time allocated to the processes in a cgroup. +This upper limit applies even if there is no other competition for the CPU. Further information can be found in the kernel source file .IR Documentation/scheduler/sched\-bwc.txt . .TP