DomU CPU Bursting

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DomU CPU Bursting

Mohamed King
Hello Everyone,

I have been struggling with this for a while now but can’t seem to get any confirmation from available docs, etc. Does Xen have any concept of CPU bursting? In other words, if am inside a DomU and I the top command shows 100% CPU usage. Is there any reason to believe the domU can take advantage to more CPU resources beyond it’s allocation if the dom0 (physical host) has available CPU resources?  

Thanks in advance.
_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: DomU CPU Bursting

Florian Heigl
Hi,

Am 28.12.2017 um 20:00 schrieb Mohamed King <[hidden email]>:

Hello Everyone,

I have been struggling with this for a while now but can’t seem to get any confirmation from available docs, etc. Does Xen have any concept of CPU bursting? In other words, if am inside a DomU and I the top command shows 100% CPU usage. Is there any reason to believe the domU can take advantage to more CPU resources beyond it’s allocation if the dom0 (physical host) has available CPU resources?   

Thanks in advance.


I think the feature request (at uservoice) for that didn't go anywhere.
A domU vCPU _can_ use more ressources as long as they are free.
You can cap it to not do that (see the cap / weight parameters for xl)
That's with the normal scheduler!

Very old example script from "xm" times:

I *think* there are more options if you use v2 cpu pools, but got no idea about that.

Florian

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users