vzdump performace problems

rekacsa

Member
May 2, 2012
3
0
21
Hi All,

I have upgraded proxmox 1.9 to 2.0, and it's working, but I have a problem with vzdump.

In 1.9 my daily backup log was:

[FONT=Geneva, Arial, Helvetica]
vzdump --quiet --snapshot --compress --storage backup_sunday --maxfiles 1 --mailto xxx@xxx.xx --all 101: Apr 22 02:00:01 INFO: Starting Backup of VM 101 (qemu) 101: Apr 22 02:00:01 INFO: running 101: Apr 22 02:00:01 INFO: status = running 101: Apr 22 02:00:02 INFO: backup mode: snapshot 101: Apr 22 02:00:02 INFO: ionice priority: 7 101: Apr 22 02:00:02 INFO: Logical volume "vzsnap-virt-0" created 101: Apr 22 02:00:02 INFO: creating archive '/backup/sunday/vzdump-qemu-101-2012_04_22-02_00_01.tgz' 101: Apr 22 02:00:02 INFO: adding '/backup/sunday/vzdump-qemu-101-2012_04_22-02_00_01.tmp/qemu-server.conf' to archive ('qemu-server.conf') 101: Apr 22 02:00:02 INFO: adding '/mnt/vzsnap0/images/101/vm-101-disk-1.raw' to archive ('vm-disk-ide0.raw') 101: Apr 22 02:37:04 INFO: Total bytes written: 3398740480 (1.46 MiB/s) 101: Apr 22 02:37:04 INFO: archive file size: 1.34GB 101: Apr 22 02:37:04 INFO: delete old backup '/backup/sunday/vzdump-qemu-101-2012_04_15-02_00_01.tgz' 101: Apr 22 02:37:06 INFO: Logical volume "vzsnap-virt-0" successfully removed 101: Apr 22 02:37:06 INFO: Finished Backup of VM 101 (00:37:05)[/FONT]After I have upgraded to 2.0 my log is:

[FONT=Geneva, Arial, Helvetica]
vzdump --quiet 1 --mailto xxx@xxx.xx --mode snapshot --compress gzip --storage backup_tue --all 1 101: Apr 24 00:00:02 INFO: Starting Backup of VM 101 (qemu) 101: Apr 24 00:00:02 INFO: status = running 101: Apr 24 00:00:03 INFO: backup mode: snapshot 101: Apr 24 00:00:03 INFO: ionice priority: 7 101: Apr 24 00:00:03 INFO: Logical volume "vzsnap-virt-0" created 101: Apr 24 00:00:03 INFO: creating archive '/backup/tue/dump/vzdump-qemu-101-2012_04_24-00_00_02.tar.gz' 101: Apr 24 00:00:03 INFO: adding '/backup/tue/dump/vzdump-qemu-101-2012_04_24-00_00_02.tmp/qemu-server.conf' to archive ('qemu-server.conf') 101: Apr 24 00:00:03 INFO: adding '/mnt/vzsnap0/images/101/vm-101-disk-1.raw' to archive ('vm-disk-ide0.raw') 101: Apr 24 03:17:09 INFO: Total bytes written: 429496732160 (34.64 MiB/s) 101: Apr 24 03:17:09 INFO: archive file size: 13.65GB 101: Apr 24 03:17:11 INFO: Finished Backup of VM 101 (03:17:09)[/FONT]
[FONT=Geneva, Arial, Helvetica]
So there is a big difference between (1.46 MiB/s)and (34.64 MiB/s). :confused: and "archive file size: 13.65GB" and "archive file size: 1.34GB"

I don't have any idea what can I do and what I did wrong.

There are not any modification on KVM, or any hardware change my machine. What can I do?

The restore time of this KVM approx. 10 hours :(

Please help me!

Thx,
rekacsa [/FONT]
 
I's much better now, Thx!

[FONT=Geneva, Arial, Helvetica]
vzdump --quiet 1 --mailto xxx@xxx.xx --mode snapshot --compress lzo --storage backup_thue --all 1 101: May 03 00:00:01 INFO: Starting Backup of VM 101 (qemu) 101: May 03 00:00:01 INFO: status = running 101: May 03 00:00:02 INFO: backup mode: snapshot 101: May 03 00:00:02 INFO: ionice priority: 7 101: May 03 00:00:03 INFO: Logical volume "vzsnap-virt-0" created 101: May 03 00:00:03 INFO: creating archive '/backup/thue/dump/vzdump-qemu-101-2012_05_03-00_00_01.tar.lzo' 101: May 03 00:00:03 INFO: adding '/backup/csutortok/dump/vzdump-qemu-101-2012_05_03-00_00_01.tmp/qemu-server.conf' to archive ('qemu-server.conf') 101: May 03 00:00:03 INFO: adding '/mnt/vzsnap0/images/101/vm-101-disk-1.raw' to archive ('vm-disk-ide0.raw') 101: May 03 00:48:01 INFO: Total bytes written: 429496732160 (142.32 MiB/s) 101: May 03 00:48:01 INFO: archive file size: 3.32GB 101: May 03 00:48:01 INFO: delete old backup '/backup/thue/dump/vzdump-qemu-101-2012_04_26-00_00_01.tar.gz' 101: May 03 00:48:23 INFO: Finished Backup of VM 101 (00:48:22)[/FONT]