Skip to main content

Set CPU sockets and cores for a VM

Saving CPU topology reboots the VM. Schedule downtime and save work first.

CPU topology determines how the operating system sees its allocated virtual CPUs. For example, two vCPUs can appear as two single-core sockets or one two-core socket.

  1. Open the VM and click Resize. Leave the vCPU count unchanged if you only need a different socket layout.
  2. Enable Set CPU topology. Set SOCKETS and THREADS PER CORE. The preview shows the resulting sockets, cores per socket, and threads per core.
  3. Check that sockets × cores per socket × threads per core equals the intended vCPU count. Review the estimate, then click Adjust Resource Allocation.
  4. Read the Resize VM confirmation and confirm the reboot.
  5. After startup, check the topology inside the guest. On Linux, run lscpu and compare Socket(s), Core(s) per socket, and Thread(s) per core.

Check your software vendor's licensing requirements before choosing a topology. Changing the socket layout does not add CPU capacity.

CPU topology with one socket and two coresResize VM reboot confirmation


Was this article helpful?

Dislike 0
Like 0
Views: 49