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)