]> xenbits.xensource.com Git - libvirt.git/commitdiff
numatune: Add doc for new numatune XML
authorOsier Yang <jyang@redhat.com>
Mon, 20 Jun 2011 07:15:05 +0000 (15:15 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 20 Jun 2011 07:15:05 +0000 (15:15 +0800)
docs/formatdomain.html.in

index 267839b577627060476340089967a5848e325ead..ab39417a6a8f0ae245927f9b55c3ed2c51212bed 100644 (file)
     &lt;vcpupin vcpu="3" cpuset="0,4"/&gt;
     &lt;shares&gt;2048&lt;/shares&gt;
   &lt;/cputune&gt;
+  &lt;numatune&gt;
+  &lt;memory mode="strict" nodeset="1-4,^3"/&gt;
+  &lt;/numatune&gt;
   ...</pre>
 
     <dl>
         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>