8.1-PRERELEASE: CPU packages not detected correctly

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Jul 14 14:57:26 UTC 2010


On Wed, Jul 14, 2010 at 04:44:05PM +0200, Oliver Fromme wrote:
> pluknet <pluknet at gmail.com> wrote:
>  > On 14 July 2010 18:14, Oliver Fromme <olli at lurza.secnetix.de> wrote:
>  > > In a machine installed yesterday, 8.1-PRERELEASE doesn't
>  > > seem to detect the number of CPU packages vs. cores per
>  > > package correctly:
>  > > 
>  > >  | FreeBSD 8.1-PRERELEASE-20100713 #0: Tue Jul 13 19:51:18 UTC 2010
>  > >  | [...]
>  > >  | CPU: Intel(R) Xeon(R) CPU           L5408  @ 2.13GHz (2133.42-MHz K8-class CPU)
>  > >  |   Origin = "GenuineIntel"  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10
>  > >  |   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>  > >  |   Features2=0x40ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE>
>  > >  |   AMD Features=0x20000800<SYSCALL,LM>
>  > >  |   AMD Features2=0x1<LAHF>
>  > >  |   TSC: P-state invariant
>  > >  | real memory  = 34359738368 (32768 MB)
>  > >  | avail memory = 33151377408 (31615 MB)
>  > >  | ACPI APIC Table: <IBM    SERBLADE>
>  > >  | FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
>  > >  | FreeBSD/SMP: 1 package(s) x 8 core(s)
>  > >  |  cpu0 (BSP): APIC ID:  0
>  > >  |  cpu1 (AP): APIC ID:  1
>  > >  |  cpu2 (AP): APIC ID:  2
>  > >  |  cpu3 (AP): APIC ID:  3
>  > >  |  cpu4 (AP): APIC ID:  4
>  > >  |  cpu5 (AP): APIC ID:  5
>  > >  |  cpu6 (AP): APIC ID:  6
>  > >  |  cpu7 (AP): APIC ID:  7
>  > >  | ioapic1 <Version 2.0> irqs 24-47 on motherboard
>  > >  | ioapic0 <Version 2.0> irqs 0-23 on motherboard
>  > > 
>  > > I'm pretty sure that this is a 2 x 4 machine (2 CPU packages
>  > > with 4 cores per package), not 1 x 8.  That's what the BIOS
>  > > displays during POST.
>  > > 
>  > 
>  > Hi, can you show kern.sched.topology_spec ?
>  > It would clarify things a bit.
> 
> Sure:
> 
> <groups>
>  <group level="1" cache-level="0">
>   <cpu count="8" mask="0xff">0, 1, 2, 3, 4, 5, 6, 7</cpu>
>   <flags></flags>
>   <children>
>    <group level="3" cache-level="2">
>     <cpu count="8" mask="0xff">0, 1, 2, 3, 4, 5, 6, 7</cpu>
>     <flags></flags>
>    </group>
>   </children>
>  </group>
> </groups>

Can you also provide the output of "acpidump -dt"?  This will probably
be quite long (possibly 300KB or more), so you may want to put it up on
the web somewhere.

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list