mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 05:17:54 +03:00
docs: Clarify restrictive numatune mode
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2185184 Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
383caddea1
commit
2f4f381871
@ -1207,7 +1207,10 @@ NUMA Node Tuning
|
|||||||
'restrictive', defaults to 'strict'. The value 'restrictive' specifies
|
'restrictive', defaults to 'strict'. The value 'restrictive' specifies
|
||||||
using system default policy and only cgroups is used to restrict the
|
using system default policy and only cgroups is used to restrict the
|
||||||
memory nodes, and it requires setting mode to 'restrictive' in ``memnode``
|
memory nodes, and it requires setting mode to 'restrictive' in ``memnode``
|
||||||
elements. Attribute ``nodeset`` specifies the NUMA nodes, using the same
|
elements (see quirk below). This exists solely for the purpose of being able
|
||||||
|
to request movement of such memory for a running domain using ``virsh
|
||||||
|
numatune`` or ``virDomainSetNumaParameters` and is not guaranteed to happen.
|
||||||
|
Attribute ``nodeset`` specifies the NUMA nodes, using the same
|
||||||
syntax as attribute ``cpuset`` of element ``vcpu``. Attribute ``placement`` (
|
syntax as attribute ``cpuset`` of element ``vcpu``. Attribute ``placement`` (
|
||||||
:since:`since 0.9.12` ) can be used to indicate the memory placement mode for
|
:since:`since 0.9.12` ) can be used to indicate the memory placement mode for
|
||||||
domain process, its value can be either "static" or "auto", defaults to
|
domain process, its value can be either "static" or "auto", defaults to
|
||||||
@ -1227,6 +1230,12 @@ NUMA Node Tuning
|
|||||||
addresses guest NUMA node for which the settings are applied. Attributes
|
addresses guest NUMA node for which the settings are applied. Attributes
|
||||||
``mode`` and ``nodeset`` have the same meaning and syntax as in ``memory``
|
``mode`` and ``nodeset`` have the same meaning and syntax as in ``memory``
|
||||||
element. This setting is not compatible with automatic placement.
|
element. This setting is not compatible with automatic placement.
|
||||||
|
Note that for ``memnode`` this will only guide the memory access for the vCPU
|
||||||
|
threads or similar mechanism and is very hypervisor-specific. This does not
|
||||||
|
guarantee the placement of the node's memory allocation. For proper
|
||||||
|
restriction other means should be used (e.g. different mode, preallocated
|
||||||
|
hugepages).
|
||||||
|
|
||||||
:since:`QEMU Since 1.2.7`
|
:since:`QEMU Since 1.2.7`
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user