From c93a7d4ad303210541634ee95c78d186b27e1118 Mon Sep 17 00:00:00 2001 From: Peter Morrow Date: Tue, 14 Sep 2021 17:28:46 +0100 Subject: docs: update docs with StartupAllowedCPUs and StartupAllowedMemoryNodes details Signed-off-by: Peter Morrow --- man/systemd.resource-control.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'man/systemd.resource-control.xml') diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index a8c8fad9ef..ea728dff33 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -237,13 +237,20 @@ AllowedCPUs= + StartupAllowedCPUs= Restrict processes to be executed on specific CPUs. Takes a list of CPU indices or ranges separated by either whitespace or commas. CPU ranges are specified by the lower and upper CPU indices separated by a dash. - Setting AllowedCPUs= doesn't guarantee that all of the CPUs will be used by the processes - as it may be limited by parent units. The effective configuration is reported as EffectiveCPUs=. + Setting AllowedCPUs= or StartupAllowedCPUs= doesn't guarantee that all + of the CPUs will be used by the processes as it may be limited by parent units. The effective configuration is + reported as EffectiveCPUs=. + + While StartupAllowedCPUs= only applies to the startup phase of the system, + AllowedCPUs= applies to normal runtime of the system, and if the former is not set also to + the startup phase. Using StartupAllowedCPUs= allows prioritizing specific services at + boot-up differently than during normal runtime. This setting is supported only with the unified control group hierarchy. @@ -251,15 +258,21 @@ AllowedMemoryNodes= + StartupAllowedMemoryNodes= Restrict processes to be executed on specific memory NUMA nodes. Takes a list of memory NUMA nodes indices or ranges separated by either whitespace or commas. Memory NUMA nodes ranges are specified by the lower and upper NUMA nodes indices separated by a dash. - Setting AllowedMemoryNodes= doesn't guarantee that all of the memory NUMA nodes will - be used by the processes as it may be limited by parent units. The effective configuration is reported as - EffectiveMemoryNodes=. + Setting AllowedMemoryNodes= or StartupAllowedMemoryNodes= doesn't + guarantee that all of the memory NUMA nodes will be used by the processes as it may be limited by parent units. + The effective configuration is reported as EffectiveMemoryNodes=. + + While StartupAllowedMemoryNodes= only applies to the startup phase of the system, + AllowedMemoryNodes= applies to normal runtime of the system, and if the former is not set also to + the startup phase. Using StartupAllowedMemoryNodes= allows prioritizing specific services at + boot-up differently than during normal runtime. This setting is supported only with the unified control group hierarchy. -- cgit v1.2.1