Mailing List Archive

dom-U idle loop detection?
Hi

Does Xen (well, dom-U xenified kernel) detect when a dom-U is spinning
in idle loop?

In other words is Xen scheduling able to tell whether a dom-U is really
busy?

I thought it might be useful to have a low-priority 'background' dom-U
that scavenged CPU-time when the other dom-U's were idle.

Regards
Roland


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
RE: dom-U idle loop detection? [ In reply to ]
> Does Xen (well, dom-U xenified kernel) detect when a dom-U is
> spinning in idle loop?

Yes -- the domU calls HYPERVISOR_yield.

> In other words is Xen scheduling able to tell whether a dom-U
> is really busy?

Yes.

> I thought it might be useful to have a low-priority
> 'background' dom-U that scavenged CPU-time when the other
> dom-U's were idle.

You can achieve something akin to this just by setting the scheduler
weight parameters accordingly.

Ian

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users