qemu-server/PVE
Alexandre Derumier e18b0b9964 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>
2012-08-29 07:55:21 +02:00
..
API2 we call vm_stop to target host, 2012-08-23 10:28:41 +02:00
VZDump fix cluster_lock_storage() call 2012-05-24 07:24:24 +02:00
Makefile use new QMPClient code 2012-07-13 07:21:34 +02:00
QemuMigrate.pm livemigrate : activate xbzrle cache 2012-08-29 07:55:21 +02:00
QemuServer.pm livemigrate : activate xbzrle cache 2012-08-29 07:55:21 +02:00
QMPClient.pm fix bug 247: retry qmp open 2012-08-27 13:43:30 +02:00