Activate Second CPU in Linux

If you are having single CPU Server System and want to add another CPU for better Server performance, question is how to activate second CPU in Linux? Solution is, if you are using SMP kernel, then Linux should automatically detect 2nd CPU after reboot.
SMP kernels allow any processor to work on any task no matter where the data for that task are located in memory; with proper operating system support, SMP systems can easily move tasks between processors to balance the workload efficiently some times this is known as Load Balancing at Kernel Level !
To verify SMP kernel is installed or not, execute below command,
# rpm -q kernel-smp
Note: In most modern Linux flavours, SMP kernel is by default installed.

1 comment: