[libvirt] [PATCH v2 1/2] XML definitions for guest NUMA and parsing routines
Michael Ellerman
michaele at au1.ibm.com
Wed Dec 7 04:49:59 UTC 2011
On Fri, 2011-11-11 at 18:21 +0530, Bharata B Rao wrote:
> XML definitions for guest NUMA and parsing routines.
>
> From: Bharata B Rao <bharata at linux.vnet.ibm.com>
>
> This patch adds XML definitions for guest NUMA specification and contains
> routines to parse the same. The guest NUMA specification looks like this:
>
> <cpu>
> ...
> <topology sockets='2' cores='4' threads='2'/>
> <numa>
> <cell cpus='0-7' memory='512000'/>
> <cell cpus='8-15' memory='512000'/>
> </numa>
> ...
> </cpu>
Hi Bharata,
I realise I'm a bit late on this, but I'm just catching up on the list
traffic.
Firstly why is the XML tag called "cell", it seems to represent what we
would normally call a "node" in terms of NUMA?
Also does the parser support disjoint ranges for cpus and memory? Or do
we not need that complexity for some reason?
For example what if I have a topology that looks like:
Node 0:
CPUs: 0-3,8-11
MEM : 0-1G,2G-3G
Node 1:
CPUs: 4-7,12-15
MEM : 1G-2G,3G-4G
cheers
--
More information about the libvir-list
mailing list