All of lore.kernel.org
 help / color / mirror / Atom feed
* question regarding dom0 scheduling
@ 2007-07-06 20:18 Agarwal, Lomesh
  2007-07-06 20:26 ` Emmanuel Ackaouy
  0 siblings, 1 reply; 5+ messages in thread
From: Agarwal, Lomesh @ 2007-07-06 20:18 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 305 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1763 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question regarding dom0 scheduling
  2007-07-06 20:18 question regarding dom0 scheduling Agarwal, Lomesh
@ 2007-07-06 20:26 ` Emmanuel Ackaouy
  2007-07-06 20:49   ` Agarwal, Lomesh
  0 siblings, 1 reply; 5+ messages in thread
From: Emmanuel Ackaouy @ 2007-07-06 20:26 UTC (permalink / raw)
  To: Agarwal, Lomesh; +Cc: 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: question regarding dom0 scheduling
  2007-07-06 20:26 ` Emmanuel Ackaouy
@ 2007-07-06 20:49   ` Agarwal, Lomesh
  2007-07-06 22:04     ` Kaushik Barde
  0 siblings, 1 reply; 5+ messages in thread
From: Agarwal, Lomesh @ 2007-07-06 20:49 UTC (permalink / raw)
  To: Emmanuel Ackaouy; +Cc: 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: question regarding dom0 scheduling
  2007-07-06 20:49   ` Agarwal, Lomesh
@ 2007-07-06 22:04     ` Kaushik Barde
  2007-07-06 23:23       ` Agarwal, Lomesh
  0 siblings, 1 reply; 5+ messages in thread
From: Kaushik Barde @ 2007-07-06 22:04 UTC (permalink / raw)
  To: Agarwal, Lomesh, Emmanuel Ackaouy; +Cc: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: question regarding dom0 scheduling
  2007-07-06 22:04     ` Kaushik Barde
@ 2007-07-06 23:23       ` Agarwal, Lomesh
  0 siblings, 0 replies; 5+ messages in thread
From: Agarwal, Lomesh @ 2007-07-06 23:23 UTC (permalink / raw)
  To: Kaushik Barde, Emmanuel Ackaouy; +Cc: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-06 23:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 20:18 question regarding dom0 scheduling Agarwal, Lomesh
2007-07-06 20:26 ` Emmanuel Ackaouy
2007-07-06 20:49   ` Agarwal, Lomesh
2007-07-06 22:04     ` Kaushik Barde
2007-07-06 23:23       ` Agarwal, Lomesh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.