From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 06:20:17 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2C4116A4CF for ; Wed, 12 Jan 2005 06:20:17 +0000 (GMT) Received: from smtp9.wanadoo.fr (smtp9.wanadoo.fr [193.252.22.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A82E43D5E for ; Wed, 12 Jan 2005 06:20:17 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0902.wanadoo.fr (SMTP Server) with ESMTP id E30C91C001C3 for ; Wed, 12 Jan 2005 07:20:15 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf0902.wanadoo.fr (SMTP Server) with ESMTP id BD49B1C001C9 for ; Wed, 12 Jan 2005 07:20:15 +0100 (CET) Date: Wed, 12 Jan 2005 07:20:14 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <167683180.20050112072014@wanadoo.fr> To: freebsd-questions@freebsd.org In-Reply-To: <20050112052901.GA61033@osiris.chen.org.nz> References: <9094-SnapperMsgD246FC56BE0A255B@68.243.126.247> <20050112014359.GA3722@gothmog.gr> <35de0c30050111210235ea3060@mail.gmail.com> <20050112052901.GA61033@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Hyperthreading hurts 5.3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 06:20:17 -0000 Jonathan Chen writes: JC> Not true on 5.3+ GENERIC systems. If you look at dmesg, you'll see the JC> second virtual CPU launched as well as the extra column in top(1) if JC> you enable HTT in the BIOS. Well, now I'm confusing. I have an Asus P4P800-E Deluxe MB with an Intel P4 processor mounted on it, and dmesg looks like this: FreeBSD 5.3-RELEASE #1: Mon Dec 27 05:52:34 CET 2004 root@freebie.atkielski.com:/usr/obj/usr/src/sys/FREEBIE ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2998.57-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf34 Stepping = 4 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1073414144 (1023 MB) avail memory = 1045057536 (996 MB) ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) [...] Do I have two processors or not? The BIOS says that hyperthreading is enabled (and it wouldn't say anything at all if the processor were not HT-capable, according to the manual). Where's the second logical processor? I recompiled my own kernel but I didn't modify any of the CPU stuff (I don't think). -- Anthony