8.1-PRERELEASE: CPU packages not detected correctly

pluknet pluknet at gmail.com
Thu Aug 19 16:56:48 UTC 2010


On 19 August 2010 20:39, Andriy Gapon <avg at icyb.net.ua> wrote:
> on 10/08/2010 19:55 pluknet said the following:
>> On 16 July 2010 19:47, Jung-uk Kim <jkim at freebsd.org> wrote:
>>> The patch should apply fine on both sys/amd64/amd64/mp_machdep.c and
>>> sys/i386/i386/mp_machdep.c.
>>>
>>> http://people.freebsd.org/~jkim/mp_machdep2.diff
>>>
>>
>>
>> Hi.
>>
>> Just checked on Xen HVM with 3 cores.
>> 1) 8.1 unmodified:
>> FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
>> FreeBSD/SMP: 1 package(s) x 3 core(s)
>>
>> 2) 8.1 + patch
>> FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
>> FreeBSD/SMP: 0 package(s) x 1 core(s) x 32 HTT threads
>> WARNING: Non-uniform processors.
>> WARNING: Using suboptimal topology.
>
> Can you debug, e.g. with printfs, what exactly goes wrong?
> I wonder if in this case code follows some unusual/unexpected path.

Sorry, I'm a bit busy right now.
I hope to debug this somewhere in the next week.

> BTW, could you please also provide CPU name/model/features as detected by the kernel?

Sure.
CPU: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz (2763.12-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x106a5  Family = 6  Model = 1a  Stepping = 5
  Features=0x1781fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x80982201<SSE3,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,<b31>>
  TSC: P-state invariant
real memory  = 4194304000 (4000 MB)
avail memory = 3932786688 (3750 MB)
ACPI APIC Table: <Xen HVM>
FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
FreeBSD/SMP: 0 package(s) x 1 core(s) x 32 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  2
 cpu2 (AP/HT): APIC ID:  4

Just a thought.
 # HTT might somehow correlate with current maxcpus limit (32).

>
> Thanks!


-- 
wbr,
pluknet


More information about the freebsd-stable mailing list