Multi-core CPUs pack multiple processors into a single chip thus allowing multiple threads to run at once. Most of the time, this is a good thing. But at times, for example, when you need to run some legacy applications that are not compatible with multi-core processing, you may be required to disable the cores.
You may also consider shutting down the cores to save on your laptop battery power. Or if you suspect that one of the cores is failing (although this is very unlikely), you may want to test it out by disabling the cores one by one.
Disable CPU Core in Windows
- From the Start menu, click on Run, type in msconfig and click on OK
- Select Boot tab and click on Advanced options
- Tick the Number of processors and select the number of cores you want to use and click on OK
- Restart your Windows for the changes to take effect
Disable CPU Core in Linux
To disable a core in Linux, you need to be running GRUB.- From the GRUB menu, select the entry you want to use and press the e key to edit the entry
- You will be presented with a few lines of GRUB commands. Select the entry beginning with the word kernel and press the e key again
- Append the following command to the end of the line:
1maxcpus=11kernel /boot/vmlinuz-2.6.27-7-server root=UUID=94705e5f-44ab-495c-908a-b23c8b1aabb1 ro1kernel /boot/vmlinuz-2.6.27-7-server root=UUID=94705e5f-44ab-495c-908a-b23c8b1aabb1 ro maxcpus=1
- Press the b key to boot the Linux kernel. Only one of the cores will be used by the Linux kernel