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

Re: [Xen-users] Questions about sedf scheduler

To: John Cianfarani <jcianfarani@xxxxxxxxxx>
Subject: Re: [Xen-users] Questions about sedf scheduler
From: Matt Ayres <matta@xxxxxxxxxxxx>
Date: Fri, 07 Apr 2006 10:52:02 -0400
Cc: Tim Freeman <tfreeman@xxxxxxxxxxx>, amitayudas@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Apr 2006 07:53:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <27E8741D2BE45B4BBB653D02F21C6E284140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: TekTonic
References: <27E8741D2BE45B4BBB653D02F21C6E284140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Just an FYI... in 3.0.2 running "xm sched-sedf domid" will show the parameters. The method for setting parameters has changed also, xm help sched-sedf.

John Cianfarani wrote:
Thanks for the help guys, that worked.


John

-----Original Message-----
From: Tim Freeman [mailto:tfreeman@xxxxxxxxxxx] Sent: Thursday, April 06, 2006 5:24 PM
To: John Cianfarani
Cc: xen-users@xxxxxxxxxxxxxxxxxxx; amitayudas@xxxxxxxxx
Subject: Re: [Xen-users] Questions about sedf scheduler

On Thu, 6 Apr 2006 16:01:38 -0400
"John Cianfarani" <jcianfarani@xxxxxxxxxx> wrote:

How does one go about building sedf.c. I tried several gcc options but
I
keep gettings errors.

Try:
cc -lxenctrl -o sedf_dump sedf_dump.c

But I think it is not working correctly now, I get slice/weight = 0 for
all
domains which is not right. Tim


Thanks

John

________________________________

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Amitayu
Das
Sent: Tuesday, March 28, 2006 2:54 PM
To: xen-users
Subject: [Xen-users] Questions about sedf scheduler

Hi,

Diwaker had provided a program sedf.c on Jan30 to obtain the
parameters
for sedf scheduler
(please check

http://lists.xensource.com/archives/html/xen-users/2006-01/msg01228.html
).

In my setup, I'd two DomUs and Dom0 was running. I got the following
output while running the program:

# ./sedf
Domina#0: slice = 15000000, period = 20000000, extratime = 1, latency
=
0, weight = 0 Domina#18: slice = 0, period = 100000000, extratime = 1, latency = 0,
weight = 0
Domina#19: slice = 0, period = 100000000, extratime = 1, latency = 0,
weight = 0

I did not understand few things and would appreciate very much if
someone can clarify the following doubts:
1. Why the period-length is different for Dom0 and DomU's?

2. Does period-length mean the total time within which *all* domains
are
supposed to be scheduled *at least once*?
What does it mean exactly? What does slice-length mean exactly?
3. Can a domU have a slice-length as 0? If so, how can it be
scheduled?
I presume that value of extratime flag will make it scheduled, if set.
Please clarify.

4. If extratime flag was not set, do we need to set non-zero
slice-length explicitly to schedule a DomU?
Thanks in advance
,
Amitayu





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

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

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