Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2010 13:15:12 +0400
From:      pluknet <pluknet@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: patch for topology detection of Intel CPUs
Message-ID:  <AANLkTinZpq%2BtLcPHWuTV0KxwVk5eB0_nGExscP3GBt9a@mail.gmail.com>
In-Reply-To: <4C7A2782.5040009@freebsd.org>
References:  <201007141414.o6EEEUx9014690@lurza.secnetix.de> <AANLkTinYUz0V%2B2nSWBMYLf2fL8HnUQ-fvXT0q-5WY4bb@mail.gmail.com> <4C782D3B.6020407@icyb.net.ua> <201008271743.29393.jkim@FreeBSD.org> <4C7835E6.6070309@icyb.net.ua> <4C7A2782.5040009@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 August 2010 13:25, Andriy Gapon <avg@freebsd.org> wrote:
>
> [Reposted from stable@; edited]
>
> The below patch is against sources in FreeBSD tree, it should be applied
> either to sys/amd64/amd64/mp_machdep.c or sys/i386/i386/mp_machdep.c depending
> on the desired architecture:
> http://people.freebsd.org/~avg/intel-cpu-topo.diff
>

Hi, Andriy.

I tried your patch and see no regression on Xeon 50xx, 55xx, 54xx.
It also improved CPU detection on Xeon 54xx (as well as original
Junk-uk's patch).

It also improved CPU detection on Xen HVM @ Xeon 55xx @ 3 cores:

FreeBSD/SMP: Multiprocessor System Detected: 3 CPUs
FreeBSD/SMP: 1 package(s) x 3 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinZpq%2BtLcPHWuTV0KxwVk5eB0_nGExscP3GBt9a>