/
Hot-Add CPU not working on Ubuntu

Hot-Add CPU not working on Ubuntu

 Problem

Although Hot added CPUs are identified and registered by the kernel, CPUs are not brought online.

 Solution

Create a udev rule to automatically enable the hot added CPU as follows.

  1. Create a new udev rule 99-vmware-cpuhotplug-udev.rules under /etc/udev/rules.d directory, then add the following line into the file:  

    # VMware CPU HotPlug automatization # Automatically bring on-line added processors. # SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
  2. Restart the udev:

    systemctl restart udev

 

Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.

 Related articles

Related content

Frequently Asked Questions (FAQ)
Frequently Asked Questions (FAQ)
Read with this
Missing child element 'VirtualHardwareSection' when importing a virtual machine via OVA/OVF
Missing child element 'VirtualHardwareSection' when importing a virtual machine via OVA/OVF
More like this
kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
More like this
After upgrading VMware Tools on a Red Hat Enterprise Linux virtual machine, VMXNET, VMXNET3 and Paravirtual SCSI (PVSCSI) drivers are not upgraded
After upgrading VMware Tools on a Red Hat Enterprise Linux virtual machine, VMXNET, VMXNET3 and Paravirtual SCSI (PVSCSI) drivers are not upgraded
More like this

University of Toronto - Since 1827