]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: introduce NUMAPolicy and NUMAMask options
authorMichal Sekletar <msekleta@redhat.com>
Tue, 12 Mar 2019 17:58:26 +0000 (18:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Jun 2019 14:58:54 +0000 (16:58 +0200)
commitb070c7c0e133362ab5e20875e7294908004266af
tree2aa0a0554298819e9c5fff3e7190e6261b43f92d
parentc4556774496326b7288013008c0798540f88702c
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.
19 files changed:
NEWS
man/systemd-system.conf.xml
man/systemd.exec.xml
meson.build
src/basic/missing_syscall.h
src/core/dbus-execute.c
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/main.c
src/core/system.conf.in
src/shared/bus-unit-util.c
src/shared/cpu-set-util.c
src/shared/cpu-set-util.h
src/shared/exit-status.c
src/shared/exit-status.h
src/systemctl/systemctl.c