8.1-PRERELEASE: CPU packages not detected correctly
olli at lurza.secnetix.de
Thu Jul 15 12:27:41 UTC 2010
Andriy Gapon wrote:
> on 15/07/2010 14:58 Oliver Fromme said the following:
> > Andriy Gapon wrote:
> > > Could you please try to do the following?
> > > 1. Fetch topo-12212009.tar from the top of this page:
> > > http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/
> > > 2. Untar it and apply this patch to the code:
> > > http://people.freebsd.org/~avg/cpu-topology.diff
> > > 3. Compile it by running sh mk_64.sh (supposing you have amd64 system installed)
> > > 4. Run cpu_topology64.out and report back its output.
> > Ok, did that. This tool seems to get it right, i.e. it
> > detects 2 packages with 4 cores each. Here's the output:
> So perhaps you can now test jkim's patch posted in this thread?
Unfortunately, it didn't change. Kernel output during boot
is still the same; it displays 1 package x 8 cores.
PS: "make kernel -j 10" took exactly 8 minutes on this box.
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"With sufficient thrust, pigs fly just fine. However, this
is not necessarily a good idea. It is hard to be sure where
they are going to land, and it could be dangerous sitting
under them as they fly overhead." -- RFC 1925
More information about the freebsd-stable