From owner-freebsd-smp Tue Feb 4 11:53:50 2003 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D54BB37B406; Tue, 4 Feb 2003 11:53:46 -0800 (PST) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF0444020; Tue, 4 Feb 2003 11:46:14 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2003020419451800300jsek3e>; Tue, 4 Feb 2003 19:45:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA85215; Tue, 4 Feb 2003 11:45:16 -0800 (PST) Date: Tue, 4 Feb 2003 11:45:15 -0800 (PST) From: Julian Elischer To: John Baldwin Cc: Brendon and Wendy , freebsd-smp@freebsd.org Subject: RE: mp_machdep.c patch In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 4 Feb 2003, John Baldwin wrote: > > On 04-Feb-2003 Brendon and Wendy wrote: > > > > This is on a supermicro p4dce+ (i860) with 2x HTT 2.0G xeons. > > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > > > > Features=0x3febfbff > H,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > > Hyperthreading: 2 logical CPUs > > real memory = 536805376 (524224K bytes) > > avail memory = 517742592 (505608K bytes) > > Programming 24 pins in IOAPIC #0 > > IOAPIC #0 intpin 2 -> irq 0 > > FreeBSD/SMP: Multiprocessor motherboard > > cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 > > cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 > > io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 > here is mine on a Supermicro P4DPL-M CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2795.24-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 536346624 (523776K bytes) avail memory = 516501504 (504396K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 Programming 24 pins in IOAPIC #1 Programming 24 pins in IOAPIC #2 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00050014, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00050014, at 0xfee00000 cpu2 (AP): apic id: 6, version: 0x00050014, at 0xfee00000 cpu3 (AP): apic id: 7, version: 0x00050014, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00178020, at 0xfec00000 io1 (APIC): apic id: 3, version: 0x00178020, at 0xfec80000 io2 (APIC): apic id: 4, version: 0x00178020, at 0xfec80400 > This set of APIC ID's is very odd and is your problem. :( Is your > AP on apic id 1 when you booted up prior to having the HTT support? define "prior to having the HTT support" you mean an older FreeBSD? > My guess is that it is. According to Intel, when you have HTT cores, > the APIC ID's of the cores in a physical processor are sequential. > The typical SMP + HTT setup I've seen is a physical cpu at ID 0 > with it's 2nd core at ID 1 and the 2nd physical cpu at ID 6 with > it's 2nd core at ID 7. The HTT core enumeration code assumes that > this is the case, and if it finds that any of the APIC ID's that > should be HTT cores are already in use by another physical CPU, it > doesn't turn on any of the HTT cores because it has no way of > talking to them. :) > > My guess is that this is a problem with your motherboard. You still > have SMP, but it is just with one core per processor. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message