Mention cgroup.root workaround to Linux SCHED_RR limitation

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2024-01-05 10:27:03 +01:00
1 parent 9130af1c77
commit 7d09567ec8
1 file changed
+5 -1
+5 -1
View File
@@ -459,7 +459,7 @@ Cgroups
There are three major cgroup configuration directives: There are three major cgroup configuration directives:
1. Global top-level group: init, system, user, or a custom group 1. Global top-level group: `init`, `system`, `user`, or a custom group
2. Selecting a top-level group for a set of run/task/services 2. Selecting a top-level group for a set of run/task/services
3. Per run/task/service limits 3. Per run/task/service limits
@@ -510,6 +510,10 @@ except for expanding the shorthand `mem.` to `memory.`, if the file is
not available, either the cgroup controller is not available in your not available, either the cgroup controller is not available in your
Linux kernel, or the name is misspelled. Linux kernel, or the name is misspelled.
A daemon using `SCHED_RR` currently need to run outside the default cgroups.
service [...] <...> cgroup.root /path/to/daemon arg -- Real-Time process
> Linux cgroups and details surrounding values are not explained in the > Linux cgroups and details surrounding values are not explained in the
> Finit documentation. The Linux admin-guide cover this well: > Finit documentation. The Linux admin-guide cover this well:
> <https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html> > <https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html>