diff options
author | Dieter Bloms <dieter@bloms.de> | 2012-04-25 11:38:26 +0100 |
---|---|---|
committer | Dieter Bloms <dieter@bloms.de> | 2012-04-25 11:38:26 +0100 |
commit | d9abcb8495b2d481611f8d47b45680e5d9984a33 (patch) | |
tree | 1a9735d5773e2a492ce3ec6d098e6aab21258e61 /docs | |
parent | 8396671c939c3e42e8e96dda19800f8dcad20b65 (diff) | |
download | xen-d9abcb8495b2d481611f8d47b45680e5d9984a33.tar.gz xen-d9abcb8495b2d481611f8d47b45680e5d9984a33.tar.bz2 xen-d9abcb8495b2d481611f8d47b45680e5d9984a33.zip |
libxl: set domain scheduling parameters while creating the domU
the domain specific scheduling parameters like cpu_weight, cap, slice, ...
will be set during creating the domain, so this parameters can be defined
in the domain config file
[ Improved the documentation wording slightly. -iwj ]
Signed-off-by: Dieter Bloms <dieter@bloms.de>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/man/xl.cfg.pod.5 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index e2cd2519ce..8365c2344c 100644 --- a/docs/man/xl.cfg.pod.5 +++ b/docs/man/xl.cfg.pod.5 @@ -112,6 +112,44 @@ List of which cpus the guest is allowed to use. Default behavior is (all vcpus will run on cpus 0,2,3,5), or `cpus=["2", "3"]` (all vcpus will run on cpus 2 and 3). +=item B<cpu_weight=WEIGHT> + +A domain with a weight of 512 will get twice as much CPU as a domain +with a weight of 256 on a contended host. +Legal weights range from 1 to 65535 and the default is 256. +Honoured by the credit, credit2 and sedf schedulers. + +=item B<cap=N> + +The cap optionally fixes the maximum amount of CPU a domain will be +able to consume, even if the host system has idle CPU cycles. +The cap is expressed in percentage of one physical CPU: +100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. +The default, 0, means there is no upper cap. +Honoured by the credit and credit2 schedulers. + +=item B<period=NANOSECONDS> + +The normal EDF scheduling usage in nanoseconds. This means every period +the domain gets cpu time defined in slice. +Honoured by the sedf scheduler. + +=item B<slice=NANOSECONDS> + +The normal EDF scheduling usage in nanoseconds. it defines the time +a domain get every period time. +Honoured by the sedf scheduler. + +=item B<latency=N> + +Scaled period if domain is doing heavy I/O. +Honoured by the sedf scheduler. + +=item B<extratime=BOOLEAN> + +Flag for allowing domain to run in extra time. +Honoured by the sedf scheduler. + =item B<memory=MBYTES> Start the guest with MBYTES megabytes of RAM. |