vzdump performance results on my test system
hi,
I just did some vzdump tests here.
My hardware:
- Quad Xeon 32xx
- Adaptec 3508 with BBU (write cache on the controller enabler, cache on the disks disabled)
- 4 WD5001ABYS (500GB SATA), RAID 10
I am using the default proxmox ve installation.
pveperf performance results:
proxmox_ve:/# pveperf
CPU BOGOMIPS: 17027.42
REGEX/SECOND: 773887
HD SIZE: 94.49 GB (/dev/pve/root)
BUFFERED READS: 165.04 MB/sec
AVERAGE SEEK TIME: 12.73 ms
FSYNCS/SECOND: 1234.49
DNS EXT: 44.61 ms
DNS INT: 1.04 ms (proxmox.com)
proxmox_ve:/#
vzdump results (openVZ container, snapshot mode) to local disk:
105: Dec 09 10:52:02 INFO: Starting Backup of VM 105 (openvz)
105: Dec 09 10:52:02 INFO: status = CTID 105 exist mounted running
105: Dec 09 10:52:02 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
105: Dec 09 10:52:02 INFO: Logical volume "vzsnap" created
105: Dec 09 10:52:02 INFO: mounting lvm snapshot
105: Dec 09 10:52:15 INFO: creating archive '/backup/vzdump-105.dat' (/mnt/vzsnap/private/105)
105: Dec 09 10:56:42 INFO: Total bytes written: 3805020160 (
3.6GiB, 16MiB/s)
105: Dec 09 10:56:42 INFO: file size 3.54GB
105: Dec 09 10:56:44 INFO: Logical volume "vzsnap" successfully removed
105: Dec 09 10:56:44 INFO: Finished Backup of VM 105 (00:04:42)
vzdump results (openVZ container, snapshot mode) to remote samba share, GBIT network:
105: Dec 09 10:58:01 INFO: Starting Backup of VM 105 (openvz)
105: Dec 09 10:58:01 INFO: status = CTID 105 exist mounted running
105: Dec 09 10:58:01 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
105: Dec 09 10:58:01 INFO: Logical volume "vzsnap" created
105: Dec 09 10:58:01 INFO: mounting lvm snapshot
105: Dec 09 10:58:16 INFO: creating archive '/mnt/backup/vzdump-105.dat' (/mnt/vzsnap/private/105)
105: Dec 09 11:01:33 INFO: Total bytes written: 3805030400 (
3.6GiB, 22MiB/s)
105: Dec 09 11:01:37 INFO: file size 3.54GB
105: Dec 09 11:01:45 INFO: Logical volume "vzsnap" successfully removed
105: Dec 09 11:01:45 INFO: Finished Backup of VM 105 (00:03:44)
vzdump results (KVM VM, snapshot mode) to local disk:
126: Dec 09 11:23:01 INFO: Starting Backup of VM 126 (qemu)
126: Dec 09 11:23:01 INFO: status = running
126: Dec 09 11:23:01 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
126: Dec 09 11:23:01 INFO: Logical volume "vzsnap" created
126: Dec 09 11:23:01 INFO: mounting lvm snapshot
126: Dec 09 11:23:02 INFO: creating archive '/backup/vzdump-126.dat' (/mnt/vzsnap/images/126)
126: Dec 09 11:23:02 INFO: qemu-server.conf
126: Dec 09 11:23:02 INFO: vm-126-disk-1.qcow2
126: Dec 09 11:23:52 INFO: vm-126-disk.qcow2
126: Dec 09 11:33:14 INFO: Total bytes written: 23481856000 (
22GiB, 37MiB/s)
126: Dec 09 11:33:14 INFO: file size 21.87GB
126: Dec 09 11:33:20 INFO: Logical volume "vzsnap" successfully removed
126: Dec 09 11:33:20 INFO: Finished Backup of VM 126 (00:10:19)
Conclusions:
- remote vzdump target speed up performance
- a lot of small files (containers) decrease performance (as the backup of KVM disks is much faster) due to a decreasing/bad disk access times
How to improve performance:
- get the fastest hard disk possible, SAS 15krmp recommended
- get the fastest hardware raid controller
- use a remote vzdump backup target
- fast network, at least single GBIT, better bond 2 GBIT
- make sure that no other intensive processes runs during the backup window