[libvirt] [PATCH 2/5 v3] numatune: Add doc for new numatune xml

Osier Yang jyang at redhat.com
Fri Jun 17 10:22:55 UTC 2011


---
 docs/formatdomain.html.in |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 267839b..ab39417 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -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>
-- 
1.7.4




More information about the libvir-list mailing list