[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.