VMware Communities
MKANET
Contributor
Contributor

CPU affinity: Raptor Lake E-cores and number of CPU cores dedicated to a VM

I've assigned 2 CPU cores to my VM on VMWare Workstation on a Windows 11 Host (Raptor Lake i7 13700K CPU)

When I look at the Win11 Task Manager, the specific process for this VM:  vmware-vmx.exe shows that it is utilizing ALL CPU cores.

I was expecting only 2 of my E-cores to be utilized for this process, not every single core; and, certainly not the P-cores.

I don't mind if Windows 11 Task Manager isn't reporting this accurately; however, I just need to be sure that only 2 e-cores are used by this VM at any given time; doesn't matter which e-cores.  It also doesn't matter if they dynamically switch around to different available e-cores; I actually prefer it that way.  

Hopefully, I don't have to do something radical like edit the VMs' respective .VMX file; and, add the below items to that text file.  I'm crossing my fingers VMware Workstation is smart enough to handle this correctly when I only dedicate 2 cores for the VM... and, doesn't need any manual intervention.

 

 

 

Processor0.use = "FALSE"
Processor1.use = "FALSE"
Processor2.use = "FALSE"
Processor3.use = "FALSE"
Processor4.use = "FALSE"
Processor5.use = "FALSE"
Processor6.use = "FALSE"
Processor7.use = "FALSE"
Processor8.use = "FALSE"
Processor9.use = "FALSE"
Processor10.use = "FALSE"
Processor11.use = "FALSE"
Processor12.use = "FALSE"
Processor13.use = "FALSE"
Processor14.use = "FALSE"
Processor15.use = "FALSE"
Processor16.use = "FALSE"
Processor17.use = "FALSE"
Processor18.use = "FALSE"
Processor19.use = "TRUE"
Processor20.use = "TRUE"
Processor21.use = "FALSE"
Processor22.use = "FALSE"
Processor23.use = "FALSE"

 

 

 

 

 


NOTE:  I also have the ability to also launch vmrun.exe myVM.xml with an affinity to 2 specific E-cores using Prio or similar.  Hopefully, all this is not needed; and, Vmware Workstation does what I expect it to do without any fuss.

Tags (1)
Reply
0 Kudos
1 Reply
MKANET
Contributor
Contributor

Really?  152 views, not a single response?  Surely there has to be someone that knows how VMWare Workstation Player utilizes modern CPU cores.

Reply
0 Kudos