[pve-devel] KVM Live Backup performance

Michael Rasmussen mir at datanom.net
Fri Nov 22 17:57:59 CET 2013

On Fri, 22 Nov 2013 11:41:43 -0500
Eric Blevins <eric at netwalk.com> wrote:

> 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
> Even worse was to read from an area far away from where the backup process is reading.
> I started the backup, in the guest I ran:
> dd if=/dev/disk_being_backed_up of=/dev/null bs=1M count=8192 skip=24000
> KVM Live Backup: 298 seconds
> LVM Snapshot Backup: 58 seconds
In a thread on the proxmox forum discussing performance of cheph
Dietmar replies: "A VM is only a single IO thread"
Could this influence the performance when doing the new KVM live backup
since this backup occurs inside the KVM while the old LVM backup is
taken place outside the KVM?

Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
mir <at> datanom <dot> net
mir <at> miras <dot> org
This is Unix we're talking about, remember.  It's not supposed to be
nice for the applications programmer.
		-- Matthew Danish on debian-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://pve.proxmox.com/pipermail/pve-devel/attachments/20131122/1f8b8a82/attachment.pgp>

More information about the pve-devel mailing list