]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuMigrate.pm
livemigrate : activate xbzrle cache
authorAlexandre Derumier <aderumier@odiso.com>
Tue, 28 Aug 2012 10:46:08 +0000 (12:46 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 29 Aug 2012 05:55:21 +0000 (07:55 +0200)
commite18b0b99649a632f1f29f2fd8b1dab02256fb430
tree3b26327dabb56afe64d5e5b262ffce5d73d4c819
parentd454d040338a6216c8d3e5cc9623d6223476cb5a
livemigrate : activate xbzrle cache

This help migrate for vm with of lot of memory access (like database)

live migration tests working:

kvm 1.2 -> kvm 1.2  (xbzrle set on both side)
kvm 1.1 -> kvm 1.2 (xbzrle on target)
kvm 1.1 -> kvm 1.1 (xbzrle not set, qmp command try to set xbzrle but fail)

failing migration

kvm 1.2 -> kvm 1.1 fail, but this is expected.

I tested with a memory benchmark running on the vm with 4GB ram

without xbzrle : migration take 10min, with many network hang
with xbzrle : migration take 1min, no hang

I display xbzrle counters for debug purpose, we can remove them later

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuMigrate.pm
PVE/QemuServer.pm