Adjusting Cores per Socket in VMware
Suppose you have a Virtual Machine configured with, for example, a single vCPU. Furthermore,suppose the VM is running on a Host with 4 cores per socket. By default, the vCPU will only use a single core -- not all 4 cores in the socket!
To enable each vCPU to use multiple cores per socket, you can follow these steps:
- Power down the VM that you need to change
- Right click on the VM and select ‘Edit Settings’
- Select the ‘Options’ tab
- Click on ‘General’ UNDER the Advanced option
- Click ‘Configuration Parameters..’
- Click ‘Add Row’
- Enter ‘cpuid.coresPerSocket’ in the ‘Name’ column
- Enter a value (try 2 or 4 in the ‘Value Column’)
- Click ‘OK’
- Wait a few seconds while the VM reloads the configuration file.
- Power on the VM
Source: http://www.virtualizationbuster.com?p=132