Re: [PATCH] sched: RT bandwidth interface for cgroup unified hierarchy
From: Randy Dunlap
Date: Tue Jun 21 2022 - 12:05:05 EST
Hi--
On 6/21/22 05:35, Chengming Zhou wrote:
> diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
> index 176298f2f4de..3d2949e16e04 100644
> --- a/Documentation/admin-guide/cgroup-v2.rst
> +++ b/Documentation/admin-guide/cgroup-v2.rst
> @@ -1055,6 +1055,19 @@ All time durations are in microseconds.
>
> The burst in the range [0, $MAX].
>
> + cpu.max.rt
> + A read-write two value file which exists on all cgroups when
two-value
> + CONFIG_RT_GROUP_SCHED enabled, to control CPU bandwidth for
is enabled,
> + RT threads in the task group.
> +
> + The maximum bandwidth limit. It's in the following format::
> +
> + $MAX $PERIOD
> +
> + which indicates that RT threads in the group may consume upto
up to
> + $MAX in each $PERIOD duration. "max" for $MAX indicates no
> + limit. If only one number is written, $MAX is updated.
--
~Randy