]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Adjust block size used by dd to speed QEMU domain save operations.
authorLaine Stump <laine@laine.org>
Fri, 4 Jun 2010 03:36:00 +0000 (23:36 -0400)
committerLaine Stump <laine@laine.org>
Fri, 4 Jun 2010 19:36:17 +0000 (15:36 -0400)
commit20206a4bc9f1293c69eca79290a55a5fa19976d5
tree68ed9454213789671bdd43cbdd5d09bb762f03ac
parent1d45e1b6225c2068359e90b48559b54d0e019aee
Adjust block size used by dd to speed QEMU domain save operations.

See https://bugzilla.redhat.com/show_bug.cgi?id=599091

Saving a paused 512MB domain took 3m47s with the old block size of 512
bytes. Changing the block size to 1024*1024 decreased the time to 56
seconds. (Doubling again to 2048*1024 yielded 0 improvement; lowering
to 512k increased the save time to 1m10s, about 20%)
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.h