[Libvir] [RFC][PATCH 1/2] Tested NUMA patches for available memory and topology
Richard W.M. Jones
rjones at redhat.com
Fri Sep 28 13:52:51 UTC 2007
My results are a bit inconclusive. I have a machine here which
supposedly supports NUMA (2 socket, 2 core AMD with hypertransport and
two separate banks of RAM).
BIOS is _not_ configured to interleave memory. Other BIOS settings lead
me to suppose that NUMA is enabled (or at least not disabled).
Booting with Daniel's Xen & kernel does not give any messages about NUMA
enabled or disabled. (See attached messages).
# numactl --show
physcpubind: 0 1 2 3
No NUMA support available on this system.
$ grep -i numa /boot/config-2.6.18-numa.52.el5xen
[ no configuration lines shown ]
Nevertheless, with Beth's patch I see:
# src/virsh freecell 0
0: 133292032 kB
# src/virsh freecell 1
libvir: Xen error : invalid argument in
xenHypervisorNodeGetCellsFreeMemory: invalid argument
# src/virsh freecell
Total: 133292032 kB
# src/virsh freecell -2
-2: 0 kB
(Negative numbers should be returning an error).
# src/virsh capabilities
[...]
<topology>
<cells num='1'>
<cell id='0'>
<cpus num='4'>
<cpu id='0'/>
<cpu id='1'/>
<cpu id='2'/>
<cpu id='3'/>
</cpus>
</cell>
</cells>
</topology>
[...]
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 --------------
An embedded and charset-unspecified text was scrubbed...
Name: xm-dmesg.txt
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070928/be7cd48b/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg.txt
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070928/be7cd48b/attachment-0003.txt>
-------------- 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/20070928/be7cd48b/attachment-0001.bin>
More information about the libvir-list
mailing list