patch for topology detection of Intel CPUs

pluknet pluknet at gmail.com
Mon Aug 30 09:15:13 UTC 2010


On 29 August 2010 13:25, Andriy Gapon <avg at 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


More information about the freebsd-current mailing list