From owner-freebsd-questions@FreeBSD.ORG Tue May 24 15:58:34 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CDD6D16A421 for ; Tue, 24 May 2005 15:58:34 +0000 (GMT) (envelope-from freebsd-lists@slivko.org) Received: from photonix.site5.com (photonix.site5.com [209.59.179.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D09643D49 for ; Tue, 24 May 2005 15:58:34 +0000 (GMT) (envelope-from freebsd-lists@slivko.org) Received: from pool-70-18-16-72.ny325.east.verizon.net ([70.18.16.72] helo=[192.168.1.46]) by photonix.site5.com with esmtpa (Exim 4.50) id 1Dabne-0007LL-FC; Tue, 24 May 2005 11:58:34 -0400 Message-ID: <42934F21.7040606@slivko.org> Date: Tue, 24 May 2005 11:58:25 -0400 From: "Jonathan M. Slivko" User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kirk Strauser References: <200505241053.36377.kirk@strauser.com> In-Reply-To: <200505241053.36377.kirk@strauser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: This message has been scanned by ClamAV - CLEAN. X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - photonix.site5.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - slivko.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: Top only showing one active CPU on HTT system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 15:58:34 -0000 Actually, I have a similar issue on a Pentium 4 box that's supposedly HT: CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2410.53-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf41 Stepping = 1 Features=0xbfebfbff By the fact that HTT is there in the features, I'm assuming that HT support is actually present. Though when I compile my kernel with SMP support, it doesn't show up. I've had the box checked in the BIOS for HT settings, but apparently there are none. Any ideas? Kirk Strauser wrote: > I'm running a 5.4-STABLE system (updated as of May 16). My kernel is > basically GENERIC with a few small tweaks, like commenting out extraneous > "cpu" lines and adding "options SMP". > > My problem is that although dmesg shows every sign of having launched both > logical CPUs: > > $ dmesg | grep -i cpu > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU) > Hyperthreading: 2 logical CPUs > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu0: on acpi0 > cpu1: on acpi0 > SMP: AP CPU #1 Launched! > > ... running "top" only shows "0" in the CPU column for every task. I don't > see anything out of place in sysctl: > > $ sysctl -a | grep -i hlt > machdep.cpu_idle_hlt: 1 > machdep.hlt_cpus: 2 > machdep.hlt_logical_cpus: 0 > > and /boot/loader.conf is all but empty. Honestly, I don't really know how > long this has been going on. top used to show both 0 and 1 in the C column > and I'm not exactly sure when it stopped. Any ideas? -- Jonathan M. Slivko - jonathan@slivko.org "Linux: The Choice for the GNU Generation" - http://www.linux.org/ - Don't fear the penguin. .^. /V\ /( )\ ^^-^^ He's here to help.