kvm
for virt-manager:
high performance configuration
CPUs
Do not use all available cores. Windows guest works better under multiple cores but not sockets.
So if you have 22 logical host CPUs, you can allocate about 8 vCPUs, by set Sockets as 1, Cores as 8, Threads as 1. The total vCPUs will be .
Disk
Use VirtIO to get best performance, don’t use the default SATA.
If you choose VirtIO as disk type, Windows guest will not able to detect the disk during installation, due to lack of virtio’s driver. The solution is simply download the driver from here, choose latest version and download the virtio-win.iso. Then mount this image file as CD to the guest(by Add Hardware -> Storage, choose device type as CDROM device).
After mounting, in the disk selection interface, click load driver -> browse, then choose the mounted CD, select viostor/win11/amd64 to load the driver for virtio. Then you’ll able to see the disk in disk selection interface.
Shared folder
If you want a shared folder, you need to toggle Enable shared memory on in Memory. Then click Add Hardware -> Filesystem, keep Driver as default virtiofs, Source path as the path for the shard directory in the host machine, Target path as name of the shared folder you want to show in guest, like Shared. The shared folder will be acted as a mounted partition in the guest, so make this name simple.
Others
Keep other items as default. Determine the memory by guest’s system.