VMware

6.5 CPU Affinity Quick Question

I’m looking to see if I can assign a 6.5 VM to specific cores but when I follow the instructions at [Assign a Virtual Machine to a Specific Processor](https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.resmgmt.doc/GUID-F40F901D-C1A7-43E2-90AF-E6F98C960E4B.html) under step 4 there is no Scheduling Affinity either on the HTML5 or Web clients. I’ve looked on a 6.7 hosted VM as well and same.

​

https://i.redd.it/cffeasnraer31.png

​

So two questions really, has CPU affinity been removed and if not and I can find it, is it possible to assign one VM to certain cores AND exclude all over VMs from those cores as I have developers that want to test with no contention from other VMs. I could achieve this by creating affinity rules to keep the VM on the host and move all others off but I’d rather see if I’m able to do this first.

Thanks for any help.



View Reddit by PlentyMechView Source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

2 Comments

  1. The best way to handle a VM that needs to have no contention is to set a reservation on the CPU. You can reserve 100% of the CPU resources allowed by the hardware and cores assigned to the VM so that no other VMs can use those resources. This should have the same effect as pinning the VM to a specific set of cores (which generally isn’t recommended).

Leave a Reply