WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] dom-U idle loop detection?

To: "Roland Paterson-Jones" <roland@xxxxxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] dom-U idle loop detection?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 20 May 2005 11:07:40 +0100
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Fri, 20 May 2005 10:07:20 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVdFX2rRtZmlDGrSJyDuAvJXbh9QwADcBow
Thread-topic: [Xen-users] dom-U idle loop detection?
 

> 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>