Cleanup xm commands and "bogus" arguments
PATCH RESEND 1/1 Cleanup xm commands and "bogus" arguments
This is a resend of the union of two patches I sent to xen-tools quite a while ago. I imagine they just got lost, but if they were not applied for a reason, please let me know.
The patch includes the discussed xm command renames, as well as a cleanup of the "bogus" argument code, which avoids changing the argument list so that errors can be reported consistently.
docs/misc/sedf_scheduler_mini-HOWTO.txt +12 -12
@@ -10,7 +10,7 @@ Usage: -add "sched=sedf" on Xen's boot command-line -create domains as usual - -use "xm sedf <dom-id> <period> <slice> <latency-hint> <extra> <weight>" + -use "xm sched-sedf <dom-id> <period> <slice> <latency-hint> <extra> <weight>" Where: -period/slice are the normal EDF scheduling parameters in nanosecs -latency-hint is the scaled period in case the domain is doing heavy I/O
@@ -22,23 +22,23 @@ Examples: normal EDF (20ms/5ms): - xm sedf <dom-id> 20000000 5000000 0 0 0 + xm sched-sedf <dom-id> 20000000 5000000 0 0 0 best-effort domains (i.e. non-realtime): - xm sedf <dom-id> 20000000 0 0 1 0 + xm sched-sedf <dom-id> 20000000 0 0 1 0 normal EDF (20ms/5ms) + share of extra-time: - xm sedf <dom-id> 20000000 5000000 0 1 0 + xm sched-sedf <dom-id> 20000000 5000000 0 1 0 4 domains with weights 2:3:4:2 - xm sedf <d1> 0 0 0 0 2 - xm sedf <d2> 0 0 0 0 3 - xm sedf <d3> 0 0 0 0 4 - xm sedf <d4> 0 0 0 0 2 + xm sched-sedf <d1> 0 0 0 0 2 + xm sched-sedf <d2> 0 0 0 0 3 + xm sched-sedf <d3> 0 0 0 0 4 + xm sched-sedf <d4> 0 0 0 0 2 1 fully-specified (10ms/3ms) domain, 3 other domains share available rest in 2:7:3 ratio: - xm sedf <d1> 10000000 3000000 0 0 0 - xm sedf <d2> 0 0 0 0 2 - xm sedf <d3> 0 0 0 0 7 - xm sedf <d4> 0 0 0 0 3 + xm sched-sedf <d1> 10000000 3000000 0 0 0 + xm sched-sedf <d2> 0 0 0 0 2 + xm sched-sedf <d3> 0 0 0 0 7 + xm sched-sedf <d4> 0 0 0 0 3
tools/python/xen/xm/main.py +52 -47
233 lines not on this page · raw message
Signature · 5 lines
-- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: [email protected]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Thanks!
Quoted 27 lines · Dan Smith
This is a resend of the union of two patches I sent to xen-tools quite a while ago. I imagine they just got lost, but if they were not applied for a reason, please let me know.
The patch includes the discussed xm command renames, as well as a cleanup of the "bogus" argument code, which avoids changing the argument list so that errors can be reported consistently.
Signed-off-by Dan Smith <[email protected]>--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel