Disable QEMU memory balloon usage statistics.

Set mem_stats_period_seconds in nova.conf to 0.
It will disable QEMU memory balloon usage statistics.
There are 2 reasons of doing that in StarlingX:
1. StarlingX doesn’t support memory overcommit and adding
QEMU memory balloon device doesn’t make any difference.
2. QEMU memory balloon usage statistics interrupts a VM run
and causes unacceptable jitter in cyclictest once in a while.

Closes-bug: 1803615
Change-Id: Iaea1962601755736688f2deb61730ab1d548b8b1
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
This commit is contained in:
Alex Kozyrev 2018-11-15 14:04:24 -05:00
parent d5a090a45f
commit c3564823d4
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ nova::compute::libvirt::live_migration_downtime_steps: 10
nova::compute::libvirt::live_migration_downtime_delay: 75
nova::compute::libvirt::live_migration_completion_timeout: 180
nova::compute::libvirt::live_migration_progress_timeout: 0
nova::compute::libvirt::mem_stats_period_seconds: 0
nova::compute::libvirt::remove_unused_base_images: true
nova::compute::libvirt::remove_unused_resized_minimum_age_seconds: 86400
nova::compute::libvirt::remove_unused_original_minimum_age_seconds: 3600

View File

@ -105,6 +105,7 @@ class NovaHelm(openstack.OpenstackBaseHelm):
'cpu_mode': 'none',
'live_migration_completion_timeout': 180,
'live_migration_permit_auto_converge': True,
'mem_stats_period_seconds': 0,
# Allow up to 1 day for resize confirm
'remove_unused_resized_minimum_age_seconds': 86400
},