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

[Xen-users] CPU cap and weight



If guest VM is configured with CAP like:

xm sched-credit -d capvm --cap=10

xm sched-credit -d capvm
Name                                ID Weight  Cap
capvm                               2    256   10


The result of top command:

top - 08:58:09 up 57 min,  3 users,  load average: 1.54, 0.73, 0.46
Tasks: 110 total,   2 running, 108 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0%us,  0.0%sy,  0.0%ni,  1.2%id,  3.2%wa,  0.0%hi,  0.0%si, 95.7%st
Cpu1  :  0.0%us,  1.8%sy,  0.0%ni, 43.0%id,  5.4%wa,  0.0%hi,  0.0%si, 49.8%st
Cpu2  :  0.0%us,  0.7%sy,  0.0%ni, 63.6%id,  6.0%wa,  0.0%hi,  0.0%si, 29.7%st
Cpu3  :  0.1%us,  1.6%sy,  0.0%ni, 27.0%id, 40.1%wa,  0.0%hi,  0.0%si, 31.1%st
Mem:   1048576k total,   997124k used,    51452k free,      176k buffers
Swap:  2104504k total,   212416k used,  1892088k free,     6180k cached

...


The guest VM suffers from steel time meaning guest vm can not get cpu
cycles. Does this mean other guest vm can obtain cpu cycles or just
waste my own cpu cycles?


Thanks,

_______________________________________________
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®.