From owner-freebsd-smp Mon Feb 3 20: 1:31 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 5A1DC37B401 for ; Mon, 3 Feb 2003 20:01:25 -0800 (PST) Received: from humphrey.dyndns.org (12-230-212-231.client.attbi.com [12.230.212.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2BE243FB9 for ; Mon, 3 Feb 2003 20:01:24 -0800 (PST) (envelope-from brendy33@attbi.com) Received: from bigboot.humphrey.world (unknown [192.168.8.3]) by humphrey.dyndns.org (Postfix) with ESMTP id 1122043A25B for ; Mon, 3 Feb 2003 20:54:22 -0800 (PST) Content-Type: text/plain; charset="us-ascii" From: Brendon and Wendy To: freebsd-smp@freebsd.org Subject: mp_machdep.c patch Date: Mon, 3 Feb 2003 20:01:23 -0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302032001.23528.brendy33@attbi.com> 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 Hi, Saw the announce for the mp_machdep.c patch for hyperthreading. Installed= ,=20 built kernel and world. Everything seems fine. Question - how does one determine whether the hyperthreading working? My = DMESG=20 is below, as well as output from top. Booting with HTT disabled looks the= =20 same to me. This is on a supermicro p4dce+ (i860) with 2x HTT 2.0G xeons. Cheers, Brendon Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-STABLE #2: Mon Feb 3 18:35:10 PST 2003 root@bigboot.humphrey.world:/usr/obj/usr/src/sys/BRENDY-STABLE Timecounter "i8254" frequency 1193182 Hz CPU: Intel(R) XEON(TM) CPU 2.00GHz (1982.52-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0xf24 Stepping =3D 4 =20 Features=3D0x3febfbff Hyperthreading: 2 logical CPUs real memory =3D 536805376 (524224K bytes) avail memory =3D 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 Preloaded elf kernel "kernel" at 0xc0474000. Preloaded elf module "linux.ko" at 0xc047409c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 9 entries at 0xc00fded0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard IOAPIC #0 intpin 19 -> irq 2 IOAPIC #0 intpin 23 -> irq 3 pci0: on pcib0 pcib1: at device 1.0 on= pci0 IOAPIC #0 intpin 22 -> irq 5 pci1: on pcib1 pci1: at 0.0 irq 5 pcib2: at device 2.0 on= pci0 pci2: on pcib2 pcib3: at device 31.0 o= n pci2 pci3: on pcib3 pci3: (vendor=3D0x8086, dev=3D0x1161) at 0.0 pcib4: at device 30.0 on pci= 0 IOAPIC #0 intpin 17 -> irq 7 IOAPIC #0 intpin 16 -> irq 10 pci4: on pcib4 pcm0: port 0xc000-0xc01f irq 7 at device 1.0 on pci4 fxp0: port 0xc800-0xc83f mem=20 0xe7000000-0xe70fffff,0xe7105000-0xe7105fff irq 10 at device 4.0 on pci4 fxp0: Ethernet address 00:30:48:23:23:ca inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci4: (vendor=3D0x104c, dev=3D0x8020) at 7.0 irq 10 isab0: at device 31.0 on pci= 0 isa0: on isab0' atapci0: port 0xf000-0xf00f at device 31.1= on=20 pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd000-0xd01f= irq=20 2 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: (vendor=3D0x8086, dev=3D0x2443) at 31.3 irq 0 uhci1: port 0xd400-0xd41f= irq=20 3 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered orm0: