Re: [Qemu-devel] [PATCH] vmdk: Optimize cluster allocation

2014-04-22 Thread Kevin Wolf
Am 18.04.2014 um 14:39 hat Fam Zheng geschrieben: On mounted NFS filesystem, ftruncate is much much slower than doing a zero write. Changing this significantly speeds up cluster allocation. Comparing by converting a cirros image (296M) to VMDK on an NFS mount point, over 1Gbe LAN: $

[Qemu-devel] [PATCH] vmdk: Optimize cluster allocation

2014-04-18 Thread Fam Zheng
On mounted NFS filesystem, ftruncate is much much slower than doing a zero write. Changing this significantly speeds up cluster allocation. Comparing by converting a cirros image (296M) to VMDK on an NFS mount point, over 1Gbe LAN: $ time qemu-img convert cirros-0.3.1.img /mnt/a.raw -O vmdk