[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] set cpu bandwidth for the vm



On Mon, Jul 25, 2011 at 01:37:14PM +0800, Wen Congyang wrote:
> The cpu bandwidth is applied at the vcpu group level. We should apply it
> at the vm group level too, because the vm may do heavy I/O, and it will affect
> the other vm.
> 
> We apply cpu bandwidth at the vcpu and the vm group level, so we must ensure
> that max(child_quota) <= parent_quota when we modify cpu bandwidth.

Ahh, interesting problem !

> ---
>  src/qemu/qemu_cgroup.c |   38 ++++++++++-------
>  src/qemu/qemu_driver.c |  103 ++++++++++++++++++++++++++++++++++++-----------
>  2 files changed, 101 insertions(+), 40 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]