[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I make sure that Linux have initialized all CPUs?





Greg Folkert wrote:
On Wed, 2004-07-21 at 09:25, Jacob Friis Larsen wrote:

I am running Debian stable with kernel 2.4.26-2-686 on a HP DL 140 with 2 CPUs.

How can I make sure that Linux have initialized all CPUs?

# dmesg | grep "Initializing CPU"
Initializing CPU#0

Shouldn't there be at least 2, or 4 as I see this:
Processor #0 Pentium 4(tm) XEON(tm) APIC version 20
Processor #1 Pentium 4(tm) XEON(tm) APIC version 20
Processor #6 Pentium 4(tm) XEON(tm) APIC version 20
Processor #7 Pentium 4(tm) XEON(tm) APIC version 20


Just for grins and giggles:

Run "top"

The press "?"

Look for

"Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode"

On my machine it is a 1 or I.

Yours could be different. That will tell you.

BTW Processor 6 and 7 are the hyperthreading processors.

I still only see 1 CPU.
On Redhat I can see all 4 CPUs.
Would that be possible?

Or can I at least make sure they are being used?

Thanks,
Jacob



Reply to: