Published Feb 04, 2024

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

Looking for labels? They can now be found in the details panel on the floating action bar.

Related content

University of Toronto - Since 1827