Hey! Well done! Finally Ryzen can be used to run kvm.
I am a linux engineer.I am very intrested about kvm on gaming PC.
I have done some work on it. And also I have some problem on it.I will be glad to share it,if someone need it
many motherboards only provide 1 usb controller so that it cannot be used by 2 vms(or 2 users) at the same time.
So I make a small change.
I wrote a small program to distribute different USB devices EASILY.
Then I made some other changes to get the whole system more suitable in this situation(KVM on Gaming PCs).
it can sleep when vms are all shutdown.
run a long time without reboot
use app to control vms start&shutdown
It is a tiny Linux,maybe 255MB.
It have libvirt,qemu and others.
It can boot via PXE or HDD.
So the PROBLEM is
intel CPUs like 6700k/7700k,4 cores and 8 threads,
have some different between 2 vms use 4 threads for each other AND 1 vms use 4 threads alone.
VM 1 's CPUID list 0,1,4,5
VM 2 's CPUID list . 2,3,6,7
then the benchmark is very close . and each VM only have 2 whole cores ( hyperthreading) rather than four 1/2 cores
1 VM alone can get more performance on Gaming.the fps is higher than 2 VMs and closer to the bare metal.
Why it cannot be balanced??? both Ryzen and Intel CPUs have this problem.Why?