diff options
author | Michal Sekletár <msekleta@redhat.com> | 2020-02-17 13:50:31 +0100 |
---|---|---|
committer | Michal Sekletár <msekleta@redhat.com> | 2020-03-16 08:57:28 +0100 |
commit | e2b2fb7f566d13a3de61952b5356cd4d2eaee917 (patch) | |
tree | 3ab1e0c2ee7358be71c1197b16f95391ad7f1487 /man | |
parent | shared: split out NUMA code from cpu-set-util.c to numa-util.c (diff) | |
download | systemd-e2b2fb7f566d13a3de61952b5356cd4d2eaee917.tar.xz systemd-e2b2fb7f566d13a3de61952b5356cd4d2eaee917.zip |
core: add support for setting CPUAffinity= to special "numa" value
systemd will automatically derive CPU affinity mask from NUMA node
mask.
Fixes #13248
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.exec.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 8f1695ad29..79a2c744c6 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -774,10 +774,11 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting> <term><varname>CPUAffinity=</varname></term> <listitem><para>Controls the CPU affinity of the executed processes. 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. This option may be specified more than once, in which case the specified CPU affinity masks are - merged. If the empty string is assigned, the mask is reset, all assignments prior to this will have no - effect. See + separated by either whitespace or commas. Alternatively, takes a special "numa" value in which case systemd + automatically derives allowed CPU range based on the value of <varname>NUMAMask=</varname> option. CPU ranges + are specified by the lower and upper CPU indices separated by a dash. This option may be specified more than + once, in which case the specified CPU affinity masks are merged. If the empty string is assigned, the mask + is reset, all assignments prior to this will have no effect. See <citerefentry><refentrytitle>sched_setaffinity</refentrytitle><manvolnum>2</manvolnum></citerefentry> for details.</para></listitem> </varlistentry> |