[Libvir] Extending libvirt to probe NUMA topology

Richard W.M. Jones rjones at redhat.com
Thu Jun 14 13:08:12 UTC 2007


Daniel P. Berrange wrote:
>  - Linux/Solaris Xen - hypercalls
>  - Linux non-Xen - libnuma  
>  - Solaris non-Xen -  liblgrp
> 
> The Xen & Linux modelling seems reasonably similar IIRC, but Solaris is
> a slightly different representational approach. 

The Solaris approach seems to be fully hierarchical as far as I can work 
out.

That seems to argue for extending the capabilities XML to describe 
nodes, in as much as the XML can start off as a flat list of NUMA nodes 
(for IBM) but later be made hierarchical if necessary.

> Yes that is correct. We should not change the default - let the OS appply
> whatever policy it sees fit by default, since over time OS are tending
> towards being able to automagically determine & apply NUMA policy.

Or add another domain creation call which allows passing an additional 
set of hints.  One of the hints would be initial cpu pinning.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070614/8b5d0575/attachment-0001.bin>


More information about the libvir-list mailing list