From c3564823d4146fb0cabebb8d368b6f25218f3572 Mon Sep 17 00:00:00 2001 From: Alex Kozyrev Date: Thu, 15 Nov 2018 14:04:24 -0500 Subject: [PATCH] Disable QEMU memory balloon usage statistics. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- puppet-manifests/src/hieradata/compute.yaml | 1 + sysinv/sysinv/sysinv/sysinv/helm/nova.py | 1 + 2 files changed, 2 insertions(+) diff --git a/puppet-manifests/src/hieradata/compute.yaml b/puppet-manifests/src/hieradata/compute.yaml index a42027852e..041d2a4f4f 100644 --- a/puppet-manifests/src/hieradata/compute.yaml +++ b/puppet-manifests/src/hieradata/compute.yaml @@ -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 diff --git a/sysinv/sysinv/sysinv/sysinv/helm/nova.py b/sysinv/sysinv/sysinv/sysinv/helm/nova.py index 28dab30312..47a9ca390e 100644 --- a/sysinv/sysinv/sysinv/sysinv/helm/nova.py +++ b/sysinv/sysinv/sysinv/sysinv/helm/nova.py @@ -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 },