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)? Thanks, Lomesh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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@lists.xensource.com http://lists.xensource.com/xen-devel
Where is the dom0 weight and cap defined? How can I change it? -----Original Message----- From: Emmanuel Ackaouy [mailto:ackaouy@gmail.com] Sent: Friday, July 06, 2007 1:26 PM To: Agarwal, Lomesh Cc: xen-devel@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-devel
You can try: xm sched-credit -d <domain> [ -w [=WEIGHT] | -c [CAP] ] -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Agarwal, Lomesh Sent: Friday, July 06, 2007 1:50 PM To: Emmanuel Ackaouy Cc: xen-devel@lists.xensource.com 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@gmail.com] Sent: Friday, July 06, 2007 1:26 PM To: Agarwal, Lomesh Cc: xen-devel@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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@Phoenix.com] Sent: Friday, July 06, 2007 3:05 PM To: Agarwal, Lomesh; Emmanuel Ackaouy Cc: xen-devel@lists.xensource.com 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@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Agarwal, Lomesh Sent: Friday, July 06, 2007 1:50 PM To: Emmanuel Ackaouy Cc: xen-devel@lists.xensource.com 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@gmail.com] Sent: Friday, July 06, 2007 1:26 PM To: Agarwal, Lomesh Cc: xen-devel@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel