Re: [PATCH] set cpu bandwidth for the vm

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

 



At 07/26/2011 06:24 PM, Daniel P. Berrange write:
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

Thanks, pushed.


Daniel

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]