[libvirt] virsh memset

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 ? thanks Zvi Dubitzky Email:dubi@il.ibm.com

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@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

From: Eric Blake <eblake@redhat.com> To: Zvi Dubitzky/Haifa/IBM@IBMIL Cc: libvir-list@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
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@il.ibm.com Eric Blake <eblake@redhat.com> wrote on 15/04/2011 20:38:55: 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@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[attachment "signature.asc" deleted by Zvi Dubitzky/Haifa/IBM]
participants (2)
-
Eric Blake
-
Zvi Dubitzky