* pak333@comcast.net <pak333@comcast.net> [2006-06-08
10:38]:> Hi all,
>
> I am trying to experiment with xen schedulers. I am able to see the
scheduler parameters but unable to modify them. For example is I say
>
> "xm sched-sedf" I get
> Name ID Period(ms) Slice(ms) Lat(ms)
Extra Weight
> Domain-0 0 20.0 15.0 0.0
1 0
> Guest1 2 100.0 0.0 0.0
1 0
>
> When I do xm sched-sedf 2 200000 50000 0 0 0
> I get the same things as above
> Name ID Period(ms) Slice(ms) Lat(ms)
Extra Weight
> Domain-0 0 20.0 15.0 0.0
1 0
> Guest1 2 100.0 0.0 0.0
1 0
>
> How do I change the schduling parameters? Cna someone let me know if I
> should be doing something else before changing the params
You need to specify which parameters you want to modify as listed in help for
sched-sedf:
root@bebop:~ # xm help sched-sedf
sched-sedf [DOM] [OPTIONS] Show|Set simple EDF parameters
-p, --period Relative deadline(ms).
-s, --slice Worst-case execution time(ms)
(slice < period).
-l, --latency scaled period(ms) in case the domain
is doing heavy I/O.
-e, --extra flag (0/1) which controls whether the
domain can run in extra-time
-w, --weight mutually exclusive with period/slice and
specifies another way of setting a
domain''s
cpu period/slice.
The command you want is probably:
xm sched-sedf <DOMID> -p 20.0 -s 5.0
root@bebop:~ # xm sched-sedf
Name ID Period(ms) Slice(ms) Lat(ms) Extra Weight
Domain-0 0 20.0 15.0 0.0 1 0
debian_sarge_3 1 100.0 0.0 0.0 1 0
root@bebop:~ # xm sched-sedf 1 -p 20.0 -s 5.0
root@bebop:~ # xm sched-sedf
Name ID Period(ms) Slice(ms) Lat(ms) Extra Weight
Domain-0 0 20.0 15.0 0.0 1 0
debian_sarge_3 1 20.0 5.0 0.0 1 0
Hope that helps.
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
ryanh@us.ibm.com
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel