0

I'm using QEMU/KVM to run win10 pro VM on my Dell laptop (with SSD). My OS - ubuntu gnome 16.04.

Details about my VM: - Disk size 50 GB - I gave it 4GB ram (out of 16GB that my Dell laptop has) - I gave it 4 CPUs(out of 8 logical host CPUs that my Dell laptop has) - The VM's image current format is qcow2.

When I run the commands on the qcow2 image:

virsh save win10pro temp_file #it takes around 8 seconds

virsh restore temp_file #it takes around 4 seconds

Is it possible to optimize the time of save/restore to be as minimal as possible?

Edit: I tried using different image formats to see if the save/restore time decreases and found out that

qcow2, qed - restore/save time is the fastest for me (around 4, 8 seconds)

raw - restore/save time is a bit slower (around 5.5, 10.5 seconds)

vdmk - restore/save time is the slowest (around 9,12 seconds)

vdi,vpc - unable to execute QEMU command 'migrate' (cannot save image)

  • The virtual disk size is probably irrelevant. It’s just about the underlying storage (SSD? Perhaps even NVMe? HDD?) and the amount of RAM the VM has. Please add information about those things to your question. – Daniel B Jun 24 '18 at 14:53
  • I have edited the question with more details. – Guy Jun 24 '18 at 15:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.