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] question regarding dom0 scheduling

To: "Kaushik Barde" <Kaushik_Barde@xxxxxxxxxxx>, "Emmanuel Ackaouy" <ackaouy@xxxxxxxxx>
Subject: RE: [Xen-devel] question regarding dom0 scheduling
From: "Agarwal, Lomesh" <lomesh.agarwal@xxxxxxxxx>
Date: Fri, 6 Jul 2007 16:23:41 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 06 Jul 2007 16:21:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0EF82802ABAA22479BC1CE8E2F60E8C3018F8C9D@xxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <A3258B497F1C1441AD36A2E8B45FD628435CB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx><301bf561a729e36766b1e2910557fef8@xxxxxxxxx> <A3258B497F1C1441AD36A2E8B45FD628435D00@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <0EF82802ABAA22479BC1CE8E2F60E8C3018F8C9D@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfAC+PQqZ5R+Gx4RniHB3rmeE4wrgAAz16gAAKcMKAAAsB3gA==
Thread-topic: [Xen-devel] question regarding dom0 scheduling
How can I change it in a way so that xen always set a specified weight
and cap for dom0?

-----Original Message-----
From: Kaushik Barde [mailto:Kaushik_Barde@xxxxxxxxxxx] 
Sent: Friday, July 06, 2007 3:05 PM
To: Agarwal, Lomesh; Emmanuel Ackaouy
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] question regarding dom0 scheduling

You can try:

xm sched-credit -d <domain> [ -w [=WEIGHT] | -c [CAP] ] 

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Agarwal,
Lomesh
Sent: Friday, July 06, 2007 1:50 PM
To: Emmanuel Ackaouy
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] question regarding dom0 scheduling

Where is the dom0 weight and cap defined? How can I change it?

-----Original Message-----
From: Emmanuel Ackaouy [mailto:ackaouy@xxxxxxxxx] 
Sent: Friday, July 06, 2007 1:26 PM
To: Agarwal, Lomesh
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] question regarding dom0 scheduling

On Jul 6, 2007, at 22:18, Agarwal, Lomesh wrote:
> How does Xen determines dom0 scheduling? Domains get CPU time slices 
> based on weight and cap but how does Xen determine the time slice for 
> dom0? Does dom0 preempt dom0 ever? If I put an infinite loop in dom0, 
> will that halt the system (as domains will never be scheduled)?

dom0 isn't treated any differently than other domains by default.
you can tweak its weight just like any other domain though.

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