KVM parameters to optimize Hyper-V with AMD processors

This ‘hypervisor’ flag caught my attention. For the past few years, I’ve always had this flag turned on for all VMs. I just realized disabling it for Windows 11 guest improves all-core performance by 1.5-2%. The effect of this flag is consistently reproducible for me. Puzzling me but interesting re-discovery.

The effect of this flag should be minimal if number of virtual cores is fewer than 32. If you find it helpful, it helps then. I always find it tedious to deal these flags with minimal documentation.

I’m quite sure this flag is irrelevant to the performance of the immediate guest. One possible way it might have helped you because you accidentally enabled Hyper-V in your Windows installation, which you shouldn’t have enabled.