ACK/Cmnt: [J/realtime][PATCH] UBUNTU: [Config] realtime: enable CONFIG_RT_GROUP_SCHED
Tim Gardner
tim.gardner at canonical.com
Thu Jan 13 13:25:01 UTC 2022
Acked-by: Tim Gardner <tim.gardner at canonical.com>
There was an attempt to enable this config for Azure tuned kernels but
it was reverted after noticing a regression with the ubuntu_ltp_stable
sched test. Investigating that regression hasn't bubbled up to the top
of my to-do list yet, so I'll be interested to know if you can root
cause the regression (or fix the test).
rtg
On 1/13/22 5:21 AM, Krzysztof Kozlowski wrote:
> The RT_GROUP_SCHED (Real-Time group scheduling) allows explicitly
> allocate real CPU bandwidth to task groups. This might be useful for
> workloads consisting of separate realtime tasks.
>
> It has however a drawback of requiring root user to allocate realtime
> bandwidth for other realtime users, via the CGroup interface.
>
> See also: Documentation/scheduler/sched-rt-group.rst
>
> BugLink: https://bugs.launchpad.net/bugs/1957788
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
> ---
> debian.realtime/config/annotations | 2 ++
> debian.realtime/config/config.common.ubuntu | 2 +-
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/debian.realtime/config/annotations b/debian.realtime/config/annotations
> index 82c1e5ed49ae..365230cfe657 100644
> --- a/debian.realtime/config/annotations
> +++ b/debian.realtime/config/annotations
> @@ -25,3 +25,5 @@ CONFIG_NO_HZ_FULL policy<{'amd64': 'y', 'arm64': '
> CONFIG_NO_HZ_FULL mark<ENFORCED>
> CONFIG_RCU_NOCB_CPU policy<{'amd64': 'y', 'arm64': 'y'}>
> CONFIG_RCU_NOCB_CPU mark<ENFORCED>
> +CONFIG_RT_GROUP_SCHED policy<{'amd64': 'y', 'arm64': 'y'}>
> +CONFIG_RT_GROUP_SCHED mark<ENFORCED>
> diff --git a/debian.realtime/config/config.common.ubuntu b/debian.realtime/config/config.common.ubuntu
> index f494c4d8f058..2142f943d375 100644
> --- a/debian.realtime/config/config.common.ubuntu
> +++ b/debian.realtime/config/config.common.ubuntu
> @@ -8526,7 +8526,7 @@ CONFIG_RTW89_DEBUG=y
> CONFIG_RTW89_DEBUGFS=y
> CONFIG_RTW89_DEBUGMSG=y
> CONFIG_RTW89_PCI=m
> -# CONFIG_RT_GROUP_SCHED is not set
> +CONFIG_RT_GROUP_SCHED=y
> CONFIG_RT_MUTEXES=y
> CONFIG_RUNTIME_TESTING_MENU=y
> CONFIG_RWSEM_SPIN_ON_OWNER=y
>
--
-----------
Tim Gardner
Canonical, Inc
More information about the kernel-team
mailing list