[pve-devel] KVM Live Backup performance

Dietmar Maurer dietmar at proxmox.com
Mon Nov 25 12:59:37 CET 2013


> I have identified one use-case where KVM Live Backup causes a significant
> decrease in IO read performance.
> 
> Start a KVM Live Backup
> Inside the VM immediately run:
> dd if=/dev/disk_being_backed_up of=/dev/null bs=1M count=8192
> 
> Repeated same test but used LVM snapshot and vmtar:
> lvcreate -L33000M -s -n test-snapshot /dev/vmdisks/vm-108-disk-2
> /usr/lib/qemu-server/vmtar  '/etc/pve/qemu-server/108.conf'
> 'qemu-server.conf' '/dev/vmdisks/test-snapshot' 'vm-disk'|lzop -o
> /backup1/dump/backup.tar.lzop
> 
> KVM Live Backup: 120 seconds or more
> LVM Snapshot backup: 55 seconds
> With no backup: 45 seconds

I am unable to reproduce that - for me LVM and Live backup are about the same speed.

Can you see the effect if you dump backup output directly to /dev/null?

# /usr/lib/qemu-server/vmtar  '/etc/pve/qemu-server/108.conf' 'qemu-server.conf' '/dev/vmdisks/test-snapshot' 'vm-disk'>/dev/null

# vzdump <VMID> -stdout>/dev/null




More information about the pve-devel mailing list