Subject: Different speed CPUs show up as same speed
To: None <tech-smp@netbsd.org>
From: John Klos <john@sixgirls.org>
List: tech-smp
Date: 06/11/2002 00:57:36
Hey,

My last two emails showed two i386 P6 class SMP machines running with the
same speed processors, but I've noticed that they really aren't the same
speed.

The Supermicro system does not have two 412.5 MHz processors as I posted.
It has a 366 MHz Celery which is running at 412.5 MHz (75 MHz bus), but
the Pentium II also on that motherboard was only a 266 MHz, so it'd have
been running at 300 MHz, not 412.5 MHz.

I noticed this when I tried a Pentium 3 on that board - it still reported
two 412.5 MHz CPUs when the Pentium 3 should've been running at 337.5 MHz.

Note below that at one point, probably when I was playing with the BIOS
settings, it booted with the Pentium 3 as the primary CPU, and then it
reported that speed.

So the issue is a little bug - the code that reports the speed of the
second CPU does not actually report the speed of the second CPU. Anyone
feel like checking this out?

Thanks,
John Klos
Sixgirls Computing Labs


Here it is with the Celery as the main processor:

NetBSD 1.6_BETA1 (FREJA.MP) #0: Sun Jun  9 22:14:19 UTC 2002
    john@freja.sixgirls.org:/usr/src/sys/arch/i386/compile/FREJA.MP
total memory = 127 MB
avail memory = 114 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfdb70
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (INTEL    440LX       )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Celeron (Mendocino) (686-class), 412.53 MHz
cpu0: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 183fbff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 183fbff<FXSR>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 128 KB 32b/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 75 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Pentium III (Katmai) (686-class), 412.50 MHz
cpu1: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 387fbff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX>
cpu1: features 387fbff<FXSR,SSE>
cpu1: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu1: L2 cache 512 KB 32b/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu1: serial number 0000-0673-0003-A99F-A2D2-AB34
cpu1: 32 page colors


And the Pentium 3 as the main processor:

NetBSD 1.6_BETA1 (FREJA.MP) #0: Sun Jun  9 22:14:19 UTC 2002
    john@freja.sixgirls.org:/usr/src/sys/arch/i386/compile/FREJA.MP
total memory = 127 MB
avail memory = 114 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xfdb70
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (INTEL    440LX       )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium III (Katmai) (686-class), 337.52 MHz
cpu0: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 387fbff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX>
cpu0: features 387fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: serial number 0000-0673-0003-A99F-A2D2-AB34
cpu0: calibrating local timer
cpu0: apic clock running at 74 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Celeron (Mendocino) (686-class), 337.50 MHz
cpu1: features 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 183fbff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu1: features 183fbff<FXSR>
cpu1: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu1: L2 cache 128 KB 32b/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way