[libvirt] [PATCH 5/6] qemu: Implement hypervisor's period and quota tunable XML configuration and parsing

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Thu May 17 05:09:20 UTC 2012


(2012/05/17 14:07), Wen Congyang wrote:

> At 05/17/2012 12:46 PM, KAMEZAWA Hiroyuki Wrote:
>> (2012/05/17 12:54), Wen Congyang wrote:

>>> So, if we donot limit the hypervisor, the behavior shoule not be
>>> changed. So we should limit the whole vm. If the hypervisor threads
>>> are limited, there is no need to limit the whole vm.
>>>
>>
>>
>> need to tune hypervisor quota to limit vcpu-only quota ?
>> Sounds strange to me.
> 
> No, current implemetion is:
> 1. limit vcpu and hypervisor: vm is not limited
> 2. limit vcpu only: vm is limited
> 3. limit hypervisor: vm is not limited
> 4. vcpu and hypervisor are not limited: vm is not limited.
> 


In 2.

   vm               ----- quota_is_limited
    |- hypervisor   ----- quota is unlimited
    |- vcpu[0...x]  ----- quota is limited

Hm...vm is limited. It seems user need to tune vm's quota...can user
makes vm's quota to be unlimited and limit *only* vpcus as Xen ?

Thanks,
-Kame






More information about the libvir-list mailing list