From dca031d2290311d8670d34fd758397644796e114 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 7 Mar 2023 16:08:16 +0100 Subject: man: add a note about session autogrouping When cpu controller is disabled, thing would often still behave as if it was. And since the cpu controller can be enabled "magically" e.g. by starting user@1000, add a note for users to be careful. Autogrouping is described well in the man page, incl. how to enable or disable it, so it should be enough to refer to that. --- man/systemd.resource-control.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man') diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 1cfe1ed52a..45b006be57 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -225,6 +225,13 @@ CPUWeight=20 DisableControllers=cpu / \ CPUWeight= applies to normal runtime of the system, and if the former is not set also to the startup and shutdown phases. Using StartupCPUWeight= allows prioritizing specific services at boot-up and shutdown differently than during normal runtime. + + In addition to the resource allocation performed by the controller, the + kernel may automatically divide resources based on session-id grouping, see "The autogroup feature" + in sched7. + The effect of this feature is similar to the controller with no explicit + configuration, so users should be careful to not mistake one for the other. -- cgit v1.2.3