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

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


 


Rackspace

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