Hello unRAID community!
How do you profile VM performance and stutters?
I’m not looking to have my specific problem solved, but rather learn how to profile performance and identify bottlenecks. I have only narrowed down the bottleneck as far as not the GPU.
System Specs
unRAID 6.11.5
Hardware
VM config
Windows 10 VM (<2 month old install, but daily driving for 2 years)
5 cores, 4 are isolated for the VM
21.5GB VM RAM
VM uses the NVMe (separate cache pool). The VM image is the only file on the disk
22.11.2 AMD driver - no BIOS provided in VM config
I don’t feel like real-world performance matches my expectations, despite synthetic benchmarks telling me performance is good. The scenarios making me think this are:
1. iRacing performance is 20-30% better with Windows 10 bare metal on this system. Both VM and bare metal showed similar <50% GPU utilization. iRacing’s metrics and Windows task manager usage point to a CPU bottleneck. iRacing is mostly single-threaded, but using only the 4 isolated cores didn’t improve VM performance either.
- (Also, hello to the very small intersection of unRAID and iRacing people!)
2. Hardware glitches… almost like a “bad interrupt”.
- If I plug in a monitor or change the display scaling in Windows, the VM is unresponsive to KB/mouse input for 15-30s. (Not sure if this repros on bare metal)
- Sometimes “task switching” is incredibly slow, like 10s for the Start Menu to appear after pressing the Windows key.
- Stuttering in-game sound or frames while the games report ~60FPS. (Not subtle frame tearing, rather a half-second pause or sound loop).
3. Idle performance of the server is low and disabling all other VMs and Dockers doesn’t improve my Windows VM experience.
I’m looking to understand whether this is a CPU/disk/RAM/CPU caching bottleneck.
Thanks in advance!