summaryrefslogtreecommitdiffstats
path: root/src/core/system.conf.in
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2019-03-12 18:58:26 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-24 16:58:54 +0200
commitb070c7c0e133362ab5e20875e7294908004266af (patch)
tree2aa0a0554298819e9c5fff3e7190e6261b43f92d /src/core/system.conf.in
parentMerge pull request #12868 from poettering/doc-243-fixes (diff)
downloadsystemd-b070c7c0e133362ab5e20875e7294908004266af.tar.xz
systemd-b070c7c0e133362ab5e20875e7294908004266af.zip
core: introduce NUMAPolicy and NUMAMask options
Make possible to set NUMA allocation policy for manager. Manager's policy is by default inherited to all forked off processes. However, it is possible to override the policy on per-service basis. Currently we support, these policies: default, prefer, bind, interleave, local. See man 2 set_mempolicy for details on each policy. Overall NUMA policy actually consists of two parts. Policy itself and bitmask representing NUMA nodes where is policy effective. Node mask can be specified using related option, NUMAMask. Default mask can be overwritten on per-service level.
Diffstat (limited to 'src/core/system.conf.in')
-rw-r--r--src/core/system.conf.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/system.conf.in b/src/core/system.conf.in
index 548e6dfb8c..20f56969cc 100644
--- a/src/core/system.conf.in
+++ b/src/core/system.conf.in
@@ -23,6 +23,8 @@
#CrashReboot=no
#CtrlAltDelBurstAction=reboot-force
#CPUAffinity=1 2
+#NUMAPolicy=default
+#NUMAMask=
#RuntimeWatchdogSec=0
#ShutdownWatchdogSec=10min
#WatchdogDevice=