VM CPU Socket Configuration Guide
This guide provides instructions on how to configure your Virtual Machine (VM) to use a single CPU socket. This is a necessary step to ensure compatibility when running Redactor in a virtualized environment.
VMWare
When configuring a VM in VMWare (e.g., VMWare Workstation, ESXi), you need to adjust the virtual CPU settings.
-
Open VM Settings:
- Power off the virtual machine. You cannot change these settings while the VM is running or suspended.
- Select the VM in your VMWare inventory.
- Open the virtual machine settings editor (often labeled "Edit Settings" or similar).
-
Navigate to CPU Configuration:
- Find the "Hardware" tab or section.
- Select "CPUs" or "Processors."
-
Configure Sockets and Cores:
- You will typically see options for:
- Number of virtual processors (or Total processor cores)
- Number of cores per processor (or Cores per socket)
-
To ensure a single CPU socket configuration:
- Set "Number of processors" (or "Number of virtual sockets") to 1.
- You can then assign the desired number of cores to this single socket by adjusting the "Number of cores per processor" (or by directly setting the "Total processor cores" while ensuring the socket count remains 1).
For example, if you want to allocate 4 cores to the VM:
- Set Number of virtual sockets to 1
- Set Number of cores per socket to 4
(This results in a total of 4 virtual processors)
- You will typically see options for:
-
Save Changes:
- Click "OK" or "Save" to apply the settings.
- Power on the virtual machine.
Example:
If your VM needs 8 cores:
- Set Number of virtual sockets to 1.
- Set Number of cores per virtual socket to 8.
This configuration presents 8 cores to the guest operating system as a single-socket processor.
Nutanix (AHV)
When configuring a VM in Nutanix Acropolis Hypervisor (AHV), you modify the vCPU settings through Prism.
-
Open VM Settings in Prism:
- Log in to Prism Element or Prism Central.
- Navigate to the "VM" view.
- Select the target virtual machine.
- Power off the virtual machine.
- Click "Update" (often found under the "Actions" menu or as a button on the VM details page).
-
Navigate to vCPU Configuration:
- In the "Update VM" dialog, find the "vCPUs" or "General Configuration" section.
-
Configure Sockets and Cores per Socket:
- You will see fields for:
- Number of vCPUs
- Cores per vCPU
-
To ensure a single CPU socket configuration:
- Set "Number of vCPUs" to 1.
- Assign the desired total number of cores by setting the "Cores per vCPU" field.
For example, if you want to allocate 4 cores to the VM:
- Set Number of vCPUs to 1
- Set Cores per vCPU to 4
- You will see fields for:
-
Save Changes:
- Click "Save" to apply the configuration.
- Power on the virtual machine.
Example:
If your VM needs 6 cores:
- Set Number of vCPUs to 1.
- Set Cores per vCPU to 6.
This ensures the guest OS sees a single processor socket with 6 cores.
If you are using a different virtualization platform, please consult its documentation for instructions on how to configure virtual CPU sockets and cores. The key is to ensure the VM is presented with only one CPU socket, while the desired number of cores are assigned to that single socket.