Bug 49573 - [4.2] Live Migration Causes Memory Thrashing on Target Host
[4.2] Live Migration Causes Memory Thrashing on Target Host
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - KVM
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-5-errata
Assigned To: Philipp Hahn
Erik Damrose
:
Depends on: 49548
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-29 11:15 CEST by Valentin Heidelberger
Modified: 2019-05-29 17:01 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.143
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018052521000327
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Heidelberger univentionstaff 2019-05-29 11:15:28 CEST
+++ This bug was initially created as a clone of Bug #49548 +++

CU migrated a running VM with a huge amount of RAM (100G) to a target host with apparently enough free physical RAM available.

But the target host system went unusable due to memory thrashing and all VMs there suddenly used a lot of swap memory. All VMs where very slow as their memory had been moved to swapfile.

A "top" command still showed a good amount of free memory available on the target host, but still all VMs where running at least partially from swap.
Comment 2 Philipp Hahn univentionstaff 2019-05-29 13:32:54 CEST
[4.2-5] b27783c616 Bug #49548 uvmm: Enable NUMA memory interleave by default
 .../conffiles/etc/systemd/system/libvirtd.service.d/ucr.conf   | 10 ++++++++++
 .../univention-virtual-machine-manager-node/debian/changelog   |  6 ++++++
 .../univention-virtual-machine-manager-node/debian/control     |  3 ++-
 ...virtual-machine-manager-node-kvm.univention-config-registry |  4 ++++
 ...chine-manager-node-kvm.univention-config-registry-variables |  6 ++++++
 5 files changed, 28 insertions(+), 1 deletion(-)

[4.2-5] 8874a11e24 Bug #49573 uvmm: Restart libvirtd on package upgrade
 .../univention-virtual-machine-manager-node/debian/changelog  |  6 ++++++
 .../univention-virtual-machine-manager-node-kvm.postinst      | 11 +++++++++++
 2 files changed, 17 insertions(+)

Package: univention-virtual-machine-manager-node
Version: 5.0.0-7A~4.2.0.201905291210
Version: 5.0.0-8A~4.2.0.201905291314
Branch: ucs_4.2-0
Scope: errata4.2-5

Releases to _customer_ scope as errata4.2-5 is OoM - no YAML.

TODO after QA: ssh -t omar update_customer_mirror.sh 00026

OK: head /proc/$(</run/libvirtd.pid)/numa_maps
Comment 3 Erik Damrose univentionstaff 2019-05-29 16:02:31 CEST
OK: libvirt service extension, configurable with UCR libvirt/numa/policy/memory.
OK: tests with default and interleave option

-> no regular 4.2 errata update!
Comment 4 Philipp Hahn univentionstaff 2019-05-29 17:01:56 CEST
DONE: update_customer_mirror.sh 00026