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-devel

RE: [Xen-devel] dom0 starves guests off CPU

To: "Rik van Riel" <riel@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] dom0 starves guests off CPU
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Feb 2006 11:01:06 +1100
Delivery-date: Tue, 21 Feb 2006 00:14:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcY2dJ570eZ9wDL4RUm4nM4ZukjJzwABOMQw
Thread-topic: [Xen-devel] dom0 starves guests off CPU
I found this too when doing a compile in dom0. Search the archives for a
thread titled 'Performance problems' from January this year.

Something like:
xm sched-sedf <domID> 0 0 0 1 1

was suggested there and it works for me!

At a guess, the default scheduling assumes that all of dom0's work is
going to be related to serving data (block and network) to domU's, so it
makes sense to give it priority.

James

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Rik van Riel
> Sent: Tuesday, 21 February 2006 10:22
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] dom0 starves guests off CPU
> 
> When running a "while : ; do : ; done&" loop in dom0, I saw that
> none of the guest domains were receiving any CPU time for seconds,
> quite possibly more than a minute.
> 
> The guest domains did not get significant CPU time until the
> inifinite loops in dom0 were terminated.  I am currently reading
> the EDF code to figure out what's going on, but would appreciate
> hints that shorten my search...
> 
> --
> All Rights Reversed
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


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

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