mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
docs: Update credit/credit2 feature docs reflecting new default scheduler
Signed-off-by: George Dunlap <george.dunlap@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> Release-acked-by: Juergen Gross <jgross@suse.com>
This commit is contained in:
1 parent
7b5278b28f
commit
9db777dda3
2 files changed
+14
-12
No files matched your search
@@ -12,16 +12,18 @@
|
|||||||
|
|
||||||
# Overview
|
# Overview
|
||||||
|
|
||||||
Credit (also known as Credit1) is the default virtual CPU (vCPU) scheduler
|
Credit (also known as Credit1) is the old virtual CPU (vCPU) scheduler
|
||||||
of the Xen hypervisor.
|
of the Xen hypervisor.
|
||||||
|
|
||||||
It is a general purpose, weighted fair-share scheduler.
|
It is a general purpose, weighted fair-share scheduler.
|
||||||
|
|
||||||
# User details
|
# User details
|
||||||
|
|
||||||
Xen supports multiple schedulers. As said, Credit is the default, so it
|
Xen supports multiple schedulers. Credit is no longer the default. In
|
||||||
is used automatically, unless the `sched=$SCHED` (with `$SCHED` different
|
order to use it as the Xen scheduler the following parameter should be
|
||||||
than `credit`) parameter is passed to Xen via the bootloader.
|
passed to the hypervisor at boot:
|
||||||
|
|
||||||
|
`sched=credit`
|
||||||
|
|
||||||
Once the system is live, for creating a cpupool with Credit as its
|
Once the system is live, for creating a cpupool with Credit as its
|
||||||
scheduler, either compile a cpupool configuration file, as described
|
scheduler, either compile a cpupool configuration file, as described
|
||||||
@@ -94,4 +96,5 @@ by also doing the following:
|
|||||||
Date Revision Version Notes
|
Date Revision Version Notes
|
||||||
---------- -------- -------- -------------------------------------------
|
---------- -------- -------- -------------------------------------------
|
||||||
2016-10-14 1 Xen 4.8 Document written
|
2016-10-14 1 Xen 4.8 Document written
|
||||||
|
2019-02-7 3 Xen 4.12 No longer default scheduler
|
||||||
---------- -------- -------- -------------------------------------------
|
---------- -------- -------- -------------------------------------------
|
||||||
@@ -12,21 +12,19 @@
|
|||||||
|
|
||||||
# Overview
|
# Overview
|
||||||
|
|
||||||
Credit2 is one of the virtual CPU (vCPU) scheduler available in the
|
Credit2 is the default virtual CPU (vCPU) scheduler available in the
|
||||||
Xen hypervisor.
|
Xen hypervisor.
|
||||||
|
|
||||||
Credit2 was designed as a general purpose scheduler, with particular
|
Credit2 was designed as a general purpose scheduler, with particular
|
||||||
focus on improving handling of mixed workloads, scalability and
|
focus on improving handling of mixed workloads, scalability and
|
||||||
support for low latency applications inside VMs, with respect to
|
support for low latency applications inside VMs.
|
||||||
Credit1.
|
|
||||||
|
|
||||||
# User details
|
# User details
|
||||||
|
|
||||||
Credit2 is not in use by default. In order to use it as the Xen
|
Xen supports multiple schedulers. As said, Credit2 is the default, so
|
||||||
scheduler the following parameter should be passed to the hypervisor
|
it is used automatically, unless the `sched=$SCHED` (with `$SCHED`
|
||||||
at boot:
|
different than `credit2`) parameter is passed to Xen via the
|
||||||
|
bootloader.
|
||||||
`sched=credit2`
|
|
||||||
|
|
||||||
Other parameters are available for tuning the behavior of Credit2
|
Other parameters are available for tuning the behavior of Credit2
|
||||||
(see `docs/misc/xen-command-line.markdown` for a complete list and
|
(see `docs/misc/xen-command-line.markdown` for a complete list and
|
||||||
@@ -106,4 +104,5 @@ Date Revision Version Notes
|
|||||||
---------- -------- -------- -------------------------------------------
|
---------- -------- -------- -------------------------------------------
|
||||||
2016-10-14 1 Xen 4.8 Document written
|
2016-10-14 1 Xen 4.8 Document written
|
||||||
2017-11-6 2 Xen 4.10 Soft-affinity and caps implemented
|
2017-11-6 2 Xen 4.10 Soft-affinity and caps implemented
|
||||||
|
2019-02-7 3 Xen 4.12 Made the default scheduler
|
||||||
---------- -------- -------- -------------------------------------------
|
---------- -------- -------- -------------------------------------------
|
||||||