Of course I’m using virtio drivers, and as seen here I try using some optimizations for CPU and disk chardev socket,id=chrtpm,path=virtuals/tpm/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0 drive file=virtuals/win11.qcow2,index=0,media=disk,format=qcow2,discard=unmap,id=disk1,if=none -device virtio-blk-pci,drive=disk1,bootindex=1,physical_block_size=4096,logical_block_size=4096 \ device qemu-xhci,id=xhci1 -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \ audiodev spice,id=xyz -device ich9-intel-hda -device hda-output,audiodev=xyz \ vga qxl -device virtio-serial-pci -spice unix=on,addr=virtuals/vm_spice.socket,disable-ticketing=on -chardev spicevmc,id=spicechannel0,name=vdagent -device virtserialport,chardev=spicechannel0,name=.0 \ drive if=pflash,format=raw,file=virtuals/ovmf-x86_64-ms-4m-vars.bin \ drive if=pflash,format=raw,readonly=on,file=/usr/share/qemu/ovmf-x86_64-ms-4m-code.bin \ cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \ This is how I run the VM: qemu-system-x86_64 \ This last thing, on bare metal, takes half an hour. I have always seen problems with performance in comparison to bare-metal installations on hosts with exact same hardware: Start Menu “animation” looks in general slightly “lagged”, any program such as file manager, web browser, MS Office take a bit to open, CCleaner takes at least a minute or two to do even a couple of Mb cleaning, and most notably, cumulative updates from Windows update take more than 2 hours from the moment of start downloading to the moment of finishing rebooting. Laptop Acer Aspire A315 with i5 2.4 GHz, 16 Gb RAM and NVMe drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |