Is there a way to limit the number of logical CPUs that an underlying VM will use (on a Windows 10 host running VMWare Workstation 15 Professional)?
I've tried changing the number of cores per processor but it doesn't have the desired effect. I have 8 cores, but if I set this number to 4, then all 8 cores are still used.
The only solution I know of is to start the VM, get the PID of the VM, and then change the processor affinity (manually) to the logical CPUs I want to limit the VM to use.
I searched the VMWare knowledge base for "limit cpu vmware workstation" (URL is https://kb.vmware.com/s/global-search/%40uri#q=limit%20cpu%20vmware%20workstation&t=Knowledge&sort=relevancy), and get back an error Something went wrong.
This is important because of another question I have, see What VmWare VM is associated with a Process (pid) (on Windows Host)?.