summaryrefslogtreecommitdiff
path: root/nova/conf/libvirt.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/conf/libvirt.py')
-rw-r--r--nova/conf/libvirt.py30
1 files changed, 25 insertions, 5 deletions
diff --git a/nova/conf/libvirt.py b/nova/conf/libvirt.py
index 199cc6cf5e..204fe5c4b8 100644
--- a/nova/conf/libvirt.py
+++ b/nova/conf/libvirt.py
@@ -321,13 +321,14 @@ Please refer to the libvirt documentation for further details.
default=500,
min=100,
help="""
-Maximum permitted downtime, in milliseconds, for live migration
-switchover.
+Target maximum period of time Nova will try to keep the instance paused
+during the last part of the memory copy, in *milliseconds*.
Will be rounded up to a minimum of 100ms. You can increase this value
if you want to allow live-migrations to complete faster, or avoid
live-migration timeout errors by allowing the guest to be paused for
-longer during the live-migration switch over.
+longer during the live-migration switch over. This value may be exceeded
+if there is any reduction on the transfer rate after the VM is paused.
Related options:
@@ -452,7 +453,7 @@ support built into QEMU.
Prerequisite: TLS environment is configured correctly on all relevant
Compute nodes. This means, Certificate Authority (CA), server, client
-certificates, their corresponding keys, and their file permisssions are
+certificates, their corresponding keys, and their file permissions are
in place, and are validated.
Notes:
@@ -704,7 +705,7 @@ the source of entropy on the host. Since libvirt 1.3.4, any path (that
returns random numbers when read) is accepted. The recommended source
of entropy is ``/dev/urandom`` -- it is non-blocking, therefore
relatively fast; and avoids the limitations of ``/dev/random``, which is
-a legacy interface. For more details (and comparision between different
+a legacy interface. For more details (and comparison between different
RNG sources), refer to the "Usage" section in the Linux kernel API
documentation for ``[u]random``:
http://man7.org/linux/man-pages/man4/urandom.4.html and
@@ -986,6 +987,7 @@ slowly to be useful. Actual errors will be reported by Glance and noticed
according to the poll interval.
Related options:
+
* images_type - must be set to ``rbd``
* images_rbd_glance_store_name - must be set to a store name
* images_rbd_glance_copy_poll_interval - controls the failure time-to-notice
@@ -1476,6 +1478,23 @@ Related options:
"""),
]
+libvirt_cpu_mgmt_opts = [
+ cfg.BoolOpt('cpu_power_management',
+ default=False,
+ help='Use libvirt to manage CPU cores performance.'),
+ cfg.StrOpt('cpu_power_management_strategy',
+ choices=['cpu_state', 'governor'],
+ default='cpu_state',
+ help='Tuning strategy to reduce CPU power consumption when '
+ 'unused'),
+ cfg.StrOpt('cpu_power_governor_low',
+ default='powersave',
+ help='Governor to use in order '
+ 'to reduce CPU power consumption'),
+ cfg.StrOpt('cpu_power_governor_high',
+ default='performance',
+ help='Governor to use in order to have best CPU performance'),
+]
ALL_OPTS = list(itertools.chain(
libvirt_general_opts,
@@ -1497,6 +1516,7 @@ ALL_OPTS = list(itertools.chain(
libvirt_volume_nvmeof_opts,
libvirt_pmem_opts,
libvirt_vtpm_opts,
+ libvirt_cpu_mgmt_opts,
))