mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
numatune: Add doc for new numatune XML
This commit is contained in:
parent
e68b9ab0b8
commit
e6ea48c325
@ -295,6 +295,9 @@
|
|||||||
<vcpupin vcpu="3" cpuset="0,4"/>
|
<vcpupin vcpu="3" cpuset="0,4"/>
|
||||||
<shares>2048</shares>
|
<shares>2048</shares>
|
||||||
</cputune>
|
</cputune>
|
||||||
|
<numatune>
|
||||||
|
<memory mode="strict" nodeset="1-4,^3"/>
|
||||||
|
</numatune>
|
||||||
...</pre>
|
...</pre>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
@ -382,6 +385,21 @@
|
|||||||
2048 will get twice as much CPU time as a VM configured with value 1024.
|
2048 will get twice as much CPU time as a VM configured with value 1024.
|
||||||
<span class="since">Since 0.9.0</span>
|
<span class="since">Since 0.9.0</span>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><code>numatune</code></dt>
|
||||||
|
<dd>
|
||||||
|
The optional <code>numatune</code> element provides details of
|
||||||
|
how to tune the performance of a NUMA host via controlling NUMA policy
|
||||||
|
for domain process. NB, only supported by QEMU driver.
|
||||||
|
<span class='since'>Since 0.9.3</span>
|
||||||
|
<dt><code>memory</code></dt>
|
||||||
|
<dd>
|
||||||
|
The optional <code>memory</code> element specify how to allocate memory
|
||||||
|
for the domain process on a NUMA host. It contains two attributes,
|
||||||
|
attribute <code>mode</code> is either 'interleave', 'strict', or 'preferred',
|
||||||
|
attribute <code>nodeset</code> specifies the NUMA nodes, it leads same
|
||||||
|
syntax with attribute <code>cpuset</code> of element <code>vcpu</code>.
|
||||||
|
<span class='since'>Since 0.9.3</span>
|
||||||
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<h3><a name="elementsCPU">CPU model and topology</a></h3>
|
<h3><a name="elementsCPU">CPU model and topology</a></h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user