8.1-PRERELEASE: CPU packages not detected correctly

Andriy Gapon avg at icyb.net.ua
Thu Aug 19 16:39:17 UTC 2010


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.
BTW, could you please also provide CPU name/model/features as detected by the kernel?

Thanks!

-- 
Andriy Gapon


More information about the freebsd-stable mailing list