Windows Gaming VM

Hey folks! I finally pulled the trigger on switching over to Proxmox for my virtualization platform on my primary desktop. Like many new to the platform, my desire was to set up a variety of services as virtual machines, including a Windows VM dedicated to playing my Steam Library.

I've reached a point where I have the VM set up with GPU pass-through (RTX 4070) and have dedicated 8 cores of my Ryzen 5 7500x with 16 GB of my DDR5 RAM.

Interestingly enough, most games seem to run very well considering the general abstraction from hardware that virtualization provides, but there's still some games that are clearly being bottle-necked by the CPU allocation (Looking at you, Helldivers 2). While it's still generally playable at a stable 45fps at 1440p, it would be amazing to bring some of that performance back up closer to 60fps.

Does anyone have any suggestions as to how I can tweak the setup to be more performative?

Edit: Just wanted to add that I'm not opposed to switching OS's from Windows to a Linux distro if that's the best call here, Windows is just what I've usually used for gaming.

Edit: I found the solution! Apparently when I was first tinkering with my Windows VM, I re-enabled Memory Integrity within Microsoft Defender -> Core Isolation. This was off by default, and I had switched it on thinking it was an error. Turning it back off allowed me to run Helldivers 2 with high settings and getting ~90 fps with only 4 cores allocated to the VM. Hopefully the next person who runs into this issue will be able to find my solution and get pointed in the right direction.

Thanks, all!

Here's my VM configuration as it stands right now:

agent: 1
balloon: 0
bios: ovmf
boot: order=ide0;ide2;net0
cores: 4
cpu: host
cpulimit: 4
cpuunits: 10000
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:01:00.0,pcie=1,rombar=0,x-vga=1
ide0: local-lvm:vm-100-disk-1,size=256G,ssd=1
localtime: 1
machine: pc-q35-9.0
memory: 16348
meta: creation-qemu=9.0.2,ctime=1731882618
name: win11pro
net0: **************************,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win11
scsi2: /dev/disk/by-id/ata-WDC_WDS200T2B0A-00SM50_211003800468,size=1953514584K
scsihw: virtio-scsi-single
smbios1: uuid=**************************
sockets: 1
tpmstate0: local-lvm:vm-100-disk-2,size=4M,version=v2.0
usb0: host=1-9,usb3=1
usb1: host=046d:c52b,usb3=1
usb2: host=320f:5064,usb3=1
usb3: host=04e6:5116,usb3=1
usb4: host=b58e:9e84,usb3=1
vcpus: 4
vga: std