From 7d09567ec8b8c8c4451e9c1d8803a399d8ed7822 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 5 Jan 2024 10:25:48 +0100 Subject: [PATCH] Mention cgroup.root workaround to Linux SCHED_RR limitation Signed-off-by: Joachim Wiberg --- doc/config.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/config.md b/doc/config.md index 808e7d39..f68c9aee 100644 --- a/doc/config.md +++ b/doc/config.md @@ -459,7 +459,7 @@ Cgroups 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 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 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 > Finit documentation. The Linux admin-guide cover this well: >