Project

General

Profile

Feature #184

Updated by Daniel Curtis about 7 years ago

During routine system maintenance I noticed that one CPU was disabled. The system has been running solid since its deployment, and enabling the second CPU is purely for performance gain. I checked the systems hardware like so:
<pre>
sudo lshw
</pre>
> !*-cpu:0 *!-cpu:0
> description: CPU
> product: 7455, altivec supported
> physical id: 2
> bus info: cpu@0
> version: 2.1 (pvr 8001 0201)
> size: 999MHz
> clock: 133MHz
> capabilities: altivec performance-monitor
> !*-cache:0 *!-cache:0
> description: L1 Cache
> physical id: 0
> size: 32KiB
> !*-cache:1 *!-cache:1
> description: L2 Cache (unified)
> physical id: 1
> size: 256KiB
> clock: 999MHz (1.0ns)
>
> !*-cpu:1 *!-cpu:1 DISABLED
> description: CPU
> product: PowerPC,G4
> physical id: 3
> bus info: cpu@1
> version: 8001.2.1
> size: 999MHz
> clock: 133MHz
> capabilities: altivec performance-monitor
> !*-cache:0 *!-cache:0 UNCLAIMED
> description: L1 Cache
> physical id: 0
> size: 32KiB
> !*-cache:1 *!-cache:1 UNCLAIMED
> description: L2 Cache (unified)
> physical id: 1
> size: 256KiB
> clock: 999MHz (1.0ns)
This is where I spotted that the CPU was disabled.
I decided to search with apt-cache and locate the SMP (Symmetric MultiProcessing) Linux Image for the PowerPC architecture:
<pre>
sudo apt-cache search linux-image
</pre>
From there I installed the proper linux-image-powerpc-smp:
<pre>
sudo apt-get install linux-image-powerpc-smp linux-image-headers-powerpc-smp
</pre>
Reboot the server:
<pre>
sudo reboot
</pre>
And check to see if the CPU has been enabled:
<pre>
sudo lshw
</pre>
> !*-cpu:0 *!-cpu:0
> description: CPU
> product: 7455, altivec supported
> physical id: 2
> bus info: cpu@0
> version: 2.1 (pvr 8001 0201)
> size: 999MHz
> clock: 133MHz
> capabilities: altivec performance-monitor
> !*-cache:0 *!-cache:0
> description: L1 Cache
> physical id: 0
> size: 32KiB
> !*-cache:1 *!-cache:1
> description: L2 Cache (unified)
> physical id: 1
> size: 256KiB
> clock: 999MHz (1.0ns)
> !*-cpu:1 *!-cpu:1
> description: CPU
> product: 7455, altivec supported
> physical id: 3
> bus info: cpu@1
> version: 2.1 (pvr 8001 0201)
> size: 999MHz
> clock: 133MHz
> capabilities: altivec performance-monitor
> !*-cache:0 *!-cache:0
> description: L1 Cache
> physical id: 0
> size: 32KiB
> !*-cache:1 *!-cache:1
> description: L2 Cache (unified)
> physical id: 1
> size: 256KiB
> clock: 999MHz (1.0ns)

Back