Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow monitoring of the live migrating VMs on destination host #2388

Closed
7 tasks done
vholer opened this issue Sep 4, 2018 · 1 comment
Closed
7 tasks done

Slow monitoring of the live migrating VMs on destination host #2388

vholer opened this issue Sep 4, 2018 · 1 comment

Comments

@vholer
Copy link
Contributor

vholer commented Sep 4, 2018

Description
If large memory VM is being live migrated, the monitoring on destination host already polls the (paused) VM over libvirt for block device statistics. These queries can take an extremely long time, resulting in the monitoring timeouts. Also, gathering such statistics for the migrated VM on destination host doesn't make sense since the VM is still running on the source host.

  24056 pts/1    Sl+    0:00  |                       |                       \_ ruby ../../vmm/kvm/poll -t
  24080 pts/1    S+     0:00  |                       |                           \_ sh -c virsh --connect qemu:///system --readonly domblkstat one-20 vda 2>/dev/null
  24081 pts/1    Sl+    0:00  |                       |                               \_ virsh --connect qemu:///system --readonly domblkstat one-20 vda
...
  23914 pts/1    Sl+    0:00  |                                       \_ ruby ../../vmm/kvm/poll -t
  24128 pts/1    S+     0:00  |                                           \_ sh -c virsh --connect qemu:///system --readonly domblkstat one-20 hda 2>/dev/null
  24129 pts/1    Sl+    0:00  |                                               \_ virsh --connect qemu:///system --readonly domblkstat one-20 hda

To Reproduce

  1. have large memory VM
  2. run CPU / memory intensive application inside
  3. live migrate on different HV host
  4. experience monitoring timeouts, stale domblkstat

Details

  • Affected Component: Storage
  • Hypervisor: KVM
  • Version: 5.6.0

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@vholer
Copy link
Contributor Author

vholer commented Sep 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants