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

Re: [Xen-users] CPU cap and weight



On 02/18/2013 02:49 AM, Andrew Son wrote:
Hi Peter,

Thank for references.
My detailed question is:

If the host machine is not busy, guest VM can get VCPU (timeslices) in
every 30ms.
If the CAP value is 50, does guest VM get 15ms?
or guest VM can get 30ms, but it can not use 15ms?

It's not about the shortage of timeslices. It's about how many timeslices the guest will be given. Read the wiki more carefully and especially the Algorithm section and you will find it's more about credits - if you use the default scheduler. The host machine/hypervisor will assign the CPU time (timeslice) every time the guest has credits or other guest is not asking for that CPU.

--
Peter Viskup

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.