From owner-freebsd-stable@FreeBSD.ORG Wed Jul 14 14:44:22 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A90A1065674 for ; Wed, 14 Jul 2010 14:44:22 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id B704D8FC29 for ; Wed, 14 Jul 2010 14:44:21 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o6EEi5Mp016146; Wed, 14 Jul 2010 16:44:20 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o6EEi5uk016145; Wed, 14 Jul 2010 16:44:05 +0200 (CEST) (envelope-from olli) Date: Wed, 14 Jul 2010 16:44:05 +0200 (CEST) Message-Id: <201007141444.o6EEi5uk016145@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, pluknet@gmail.com In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Wed, 14 Jul 2010 16:44:20 +0200 (CEST) Cc: Subject: Re: 8.1-PRERELEASE: CPU packages not detected correctly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 14:44:22 -0000 pluknet wrote: > On 14 July 2010 18:14, Oliver Fromme wrote: > > In a machine installed yesterday, 8.1-PRERELEASE doesn't > > seem to detect the number of CPU packages vs. cores per > > package correctly: > > > >  | FreeBSD 8.1-PRERELEASE-20100713 #0: Tue Jul 13 19:51:18 UTC 2010 > >  | [...] > >  | CPU: Intel(R) Xeon(R) CPU           L5408  @ 2.13GHz (2133.42-MHz K8-class CPU) > >  |   Origin = "GenuineIntel"  Id = 0x1067a  Family = 6  Model = 17  Stepping = 10 > >  |   Features=0xbfebfbff > >  |   Features2=0x40ce3bd > >  |   AMD Features=0x20000800 > >  |   AMD Features2=0x1 > >  |   TSC: P-state invariant > >  | real memory  = 34359738368 (32768 MB) > >  | avail memory = 33151377408 (31615 MB) > >  | ACPI APIC Table: > >  | FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs > >  | FreeBSD/SMP: 1 package(s) x 8 core(s) > >  |  cpu0 (BSP): APIC ID:  0 > >  |  cpu1 (AP): APIC ID:  1 > >  |  cpu2 (AP): APIC ID:  2 > >  |  cpu3 (AP): APIC ID:  3 > >  |  cpu4 (AP): APIC ID:  4 > >  |  cpu5 (AP): APIC ID:  5 > >  |  cpu6 (AP): APIC ID:  6 > >  |  cpu7 (AP): APIC ID:  7 > >  | ioapic1 irqs 24-47 on motherboard > >  | ioapic0 irqs 0-23 on motherboard > > > > I'm pretty sure that this is a 2 x 4 machine (2 CPU packages > > with 4 cores per package), not 1 x 8.  That's what the BIOS > > displays during POST. > > > > Hi, can you show kern.sched.topology_spec ? > It would clarify things a bit. Sure: 0, 1, 2, 3, 4, 5, 6, 7 0, 1, 2, 3, 4, 5, 6, 7 Best regards Oliver -- 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 Blogging: Never before have so many people with so little to say said so much to so few.