Re: [External] Re: [PATCH] sched: RT bandwidth interface for cgroup unified hierarchy

From: Chengming Zhou
Date: Tue Jun 21 2022 - 21:53:02 EST


On 2022/6/21 23:59, Randy Dunlap wrote:
> 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.
>

Thanks for review, I will send v2 later.