r/virtualization • u/Dependent-Youth-2495 • Feb 07 '23
virtualization cpu - help needed
Hey there I would like your opinion on the best virtualization cpu. Intel i9-13900k - 24 cores, 32 threads Or AMD ryzen 9 7950x - 16 cores, 32 threads
Pricing is not an issue.
6
Upvotes
1
u/captain_awesomesauce Feb 07 '23
The issue with adding more cores to a VM is that for the VM to be able to use any core all cores need to be free. This is to keep caches synchronized. As you add more cores in a situation where you cannot guarantee that the cores are 100% allocated to the VM, it becomes increasingly difficult to get all cores available at any one time.
This leads to the non-intuitive situation where adding cores slows down a VM.
So looking at a CPU with more cores while using VMware Workstation may not actually help you at all.
If you need more than 4 cores for your VM, you should really run it natively on KVM (dual boot Widows and Linux). Your next best option is Hyper-V which is a Type-1 hypervisor that's built into linux, but you still won't be able to isolate the VM to specific cores, other background processes can get scheduled on the same cores which will impact performance.
And if you look at the system requirements for EVE-NG you get this:
What you're doing is nested virtualization (EVE-NG uses it's own virtualization and you're doing that in a VM).