[question] Is it possible for userspace program to control cpu usage time of RT process through cgroup2 now?

From: lujialin (A)
Date: Sat Sep 24 2022 - 05:26:33 EST


Cgroup2 dose not support controling real-time processes and the cpu controller can only be enabled when all RT processes are in the root cgroup.

RT stuff was being overhauled when cpu controller interface for cgroup unified hierarchy was being implemented in 2017. It was decided that we would like to wait till the RT side settles down and proceed with an interface that better matches RT.

Is it possible for userspace program to control cpu usage time of RT process through cgroup2 now? If not, how is the current state looking and is there any proposed solution?