Hi,
I'm experiencing poor performance when restoring KVM virtual machine with qmrestore.
I have LVMs made on top of RAID1 made of two SAS 15k disks. To increase restore speed I played a little bit with qmrestore script, defining different block sizes with dd.
I have write-cache enable on my disk array and can provide any additional information.
Is there any other way to decrease restore time ? Maybe changing PE Size of Volume Group ?
I was able to do the best with bs=512k. Restore of 20GB VM took ~10mins.
pveperf
pveversion -v
The kernel version we use is:
2.6.32-2-pve
I'm experiencing poor performance when restoring KVM virtual machine with qmrestore.
I have LVMs made on top of RAID1 made of two SAS 15k disks. To increase restore speed I played a little bit with qmrestore script, defining different block sizes with dd.
I have write-cache enable on my disk array and can provide any additional information.
Is there any other way to decrease restore time ? Maybe changing PE Size of Volume Group ?
I was able to do the best with bs=512k. Restore of 20GB VM took ~10mins.
Code:
INFO: restore QemuServer backup 'vzdump-qemu-101-2010_10_01-15_03_38.tar' using ID 101
INFO: extracting 'qemu-server.conf' from archive
INFO: extracting 'vm-disk-virtio0.raw' from archive
INFO: Rounding up size to full physical extent 20.01 GB
INFO: Logical volume "vm-101-disk-1" created
INFO: new volume ID is 'vm1:vm-101-disk-1'
INFO: restore data to '/dev/vg1/vm-101-disk-1' (21479030784 bytes)
INFO: 327389+589 records in
INFO: 327389+589 records out
INFO: 21479030784 bytes (21 GB) copied, 618.504 s, "34.7 MB/s"
INFO: restore QemuServer backup 'vzdump-qemu-101-2010_10_01-15_03_38.tar' successful
pveperf
Code:
CPU BOGOMIPS: 40002.37
REGEX/SECOND: 682457
HD SIZE: 9.61 GB (/dev/mapper/222d7000155c26531-part1)
BUFFERED READS: 146.67 MB/sec
AVERAGE SEEK TIME: 3.90 ms
FSYNCS/SECOND: 544.62
DNS EXT: 48.95 ms
pveversion -v
Code:
pve-manager: 1.6-2 (pve-manager/1.6/5087)
running kernel: 2.6.32-2-pve
proxmox-ve-2.6.32: 1.6-13
pve-kernel-2.6.32-3-pve: 2.6.32-13
pve-kernel-2.6.32-2-pve: 2.6.32-8
qemu-server: 1.1-18
pve-firmware: 1.0-7
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-7
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-1
ksm-control-daemon: 1.0-4
The kernel version we use is:
2.6.32-2-pve
Last edited: