numatune: Add doc for new numatune XML

This commit is contained in:
Osier Yang 2011-06-20 15:15:05 +08:00
parent e68b9ab0b8
commit e6ea48c325

View File

@ -295,6 +295,9 @@
<vcpupin vcpu="3" cpuset="0,4"/>
<shares>2048</shares>
</cputune>
<numatune>
<memory mode="strict" nodeset="1-4,^3"/>
</numatune>
...</pre>
<dl>
@ -382,6 +385,21 @@
2048 will get twice as much CPU time as a VM configured with value 1024.
<span class="since">Since 0.9.0</span>
</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>
<h3><a name="elementsCPU">CPU model and topology</a></h3>