ia64/xen-unstable

view docs/misc/sedf_scheduler_mini-HOWTO.txt @ 8697:11ed48af31d7

Ever since patchset 8648 (xen-unstable.hg) all my configuration files
fail with the following:

Error: Device 768 (vbd) could not be connected. Hotplug scripts not working.

(Since my HVM tree follows xen-unstable.hg closely, it breaks too).

The following patch undoes a small part of Ke Yu's patch and fixes the
problem.

However, I'm having trouble understanding what this part did in the
original patch. Was there a subtle change in the disk variable format
that I missed?

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Jan 29 10:52:43 2006 +0100 (2006-01-29)
parents 06d84bf87159
children
line source
1 sEDF scheduler
2 --------------
3 Author:
4 Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
6 Overview:
7 This scheduler provides weighted CPU sharing in an intuitive way and
8 uses realtime-algorithms to ensure time guarantees.
10 Usage:
11    -add "sched=sedf" on Xen's boot command-line
12    -create domains as usual
13    -use "xm sched-sedf <dom-id> <period> <slice> <latency-hint> <extra> <weight>"
14   Where:
15   -period/slice are the normal EDF scheduling parameters in nanosecs
16   -latency-hint is the scaled period in case the domain is doing heavy I/O
17 (unused by the currently compiled version)
18   -extra is a flag (0/1), which controls whether the domain can run in
19 extra-time
20   -weight is mutually exclusive with period/slice and specifies another
21 way of setting a domains cpu slice
23 Examples:
24  normal EDF (20ms/5ms):
25   xm sched-sedf <dom-id> 20000000 5000000 0 0 0
27  best-effort domains (i.e. non-realtime):
28   xm sched-sedf <dom-id> 20000000 0 0 1 0
29  
30 normal EDF (20ms/5ms) + share of extra-time:
31   xm sched-sedf <dom-id> 20000000 5000000 0 1 0
33  4 domains with weights 2:3:4:2
34   xm sched-sedf <d1> 0 0 0 0 2
35   xm sched-sedf <d2> 0 0 0 0 3
36   xm sched-sedf <d3> 0 0 0 0 4
37   xm sched-sedf <d4> 0 0 0 0 2
39  1 fully-specified (10ms/3ms) domain, 3 other domains share
40  available rest in 2:7:3 ratio:
41   xm sched-sedf <d1> 10000000 3000000 0 0 0
42   xm sched-sedf <d2> 0 0 0 0 2
43   xm sched-sedf <d3> 0 0 0 0 7
44   xm sched-sedf <d4> 0 0 0 0 3