[libvirt] virsh memset

Zvi Dubitzky DUBI at il.ibm.com
Sat Apr 16 06:13:11 UTC 2011


Sorry , I refer to 'virsh memtune' . Do you know if it is  working ok for 
any  late combination
of libvirt and libcgroup   ( e.g libvirt-0.8.8 ) . I could not operate it 
.,

thanks

Zvi Dubitzky 
Email:dubi at il.ibm.com



Eric Blake <eblake at redhat.com> wrote on 15/04/2011 20:38:55:

> From: Eric Blake <eblake at redhat.com>
> To: Zvi Dubitzky/Haifa/IBM at IBMIL
> Cc: libvir-list at redhat.com
> Date: 15/04/2011 20:39
> Subject: Re: [libvirt] virsh memset
> 
> On 04/14/2011 06:04 AM, Zvi Dubitzky wrote:
> > Hi
> > 
> > Does anybody know if  'virsh memset' is working ok  with its 
parameters 
> > with the late  libvirt code
> > (>= 0.8.8 )?   With what libcgroup version ?
> 
> 'virsh memset' doesn't depend on cgroups.  It relies on the guest
> honoring virtio ballooning requests.  Guests like Fedora are wired to do
> this out of the box, but not all guests support it.  I'm not sure
> whether the virtio drivers for Windows can do ballooning.  If a guest
> can't honor ballooning, then you can't change current memory at runtime;
> however, with very recent git (0.9.1), 'virsh memset --persistent' can
> be used to modify the persistent storage to affect the memory usage on
> the next guest boot.
> 
> Or are you referring to 'virsh memtune', which does indeed require
> cgroup support, but does not require any guest interaction?
> 
> -- 
> Eric Blake   eblake at redhat.com    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
> 
> [attachment "signature.asc" deleted by Zvi Dubitzky/Haifa/IBM] 




More information about the libvir-list mailing list