[Libvir] [RFC][PATCH 0/2] Tested NUMA patches for available memory and topology

Daniel P. Berrange berrange at redhat.com
Sun Sep 30 15:23:06 UTC 2007


On Sun, Sep 30, 2007 at 09:09:31AM -0400, Daniel Veillard wrote:
> On Fri, Sep 28, 2007 at 10:46:04AM -0400, Daniel Veillard wrote:
> > On Fri, Sep 28, 2007 at 12:06:24AM -0400, beth kon wrote:
> > However I think there is at least a few things still left to be done
> > before pushing this in a new release:
> >   - if possible get remote operations for the new call
> 
>   well no progress on that I assume the release will be without it
> 
> >   - isolate as a separate call what is the total sum of free memory available
> >     on the Node
> 
>   done virNodeGetFreeMemory(), but it's plugged only for Xen, no remote support
> (where it would really be useful) nor QEmu back-end.

Unless someone else was already planning to look at QEMU/Remote stuff I'll take
a  look it starting this

> >   - a bit more testing for example I found out
> >     virsh # freecell -1
> >     Total: 64339968 kB
> > 
> >     virsh # freecell -2
> >     -2: 0 kB
> 
>   withn previous change this could be checked
> 
> >   - on NUMA boxes in the capability dump I would like to see the
> >     amount of memory available on the cell see
> >     https://www.redhat.com/archives/libvir-list/2007-September/msg00015.html
> >     <memory size='2097152'/>
> >     in the topology example.
> 
>   Apparently this is not available (the installed memory per cell not the
> what is currently free).

It is possible on Linux (aka QEMU/KVM driver will have it) and there are patches
for Xen we just need to push upstream. So I don't see a problem noting that this
will be added in future.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list