How does one go about building sedf.c. I
tried several gcc options but I keep gettings errors.
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