From owner-freebsd-questions@FreeBSD.ORG Tue May 24 15:59:54 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 3419716A41C for ; Tue, 24 May 2005 15:59:54 +0000 (GMT) (envelope-from kellers@NJIT.EDU) Received: from mail-gw5.njit.edu (mail-gw5.njit.edu [128.235.251.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCE6943D48 for ; Tue, 24 May 2005 15:59:53 +0000 (GMT) (envelope-from kellers@NJIT.EDU) Received: from admcluster.njit.edu (admactive.njit.edu [128.235.184.198]) by mail-gw5.njit.edu (8.12.10/8.12.4) with ESMTP id j4OFxkbM020203; Tue, 24 May 2005 11:59:49 -0400 (EDT) Received: from dhcp114-129.njit.edu ([128.235.114.129]) by admcluster.njit.edu over TLS secured channel with Microsoft SMTPSVC(5.0.2195.5329); Tue, 24 May 2005 11:59:32 -0400 From: Tim Kellers Organization: CPE at NJIT To: freebsd-questions@freebsd.org Date: Tue, 24 May 2005 11:59:23 -0400 User-Agent: KMail/1.8 References: <200505241053.36377.kirk@strauser.com> In-Reply-To: <200505241053.36377.kirk@strauser.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200505241159.24346.kellers@njit.edu> X-OriginalArrivalTime: 24 May 2005 15:59:32.0210 (UTC) FILETIME=[92EAD520:01C56079] Cc: 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:59:54 -0000 On Tuesday 24 May 2005 11:53 am, 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 colu= mn > and I'm not exactly sure when it stopped. Any ideas? =46rom my /boot/loader.conf: acpi_load=3D"YES" loader_color=3D"yes" PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 587 root 96 0 177M 44500K CPU0 0 630:12 10.94% 10.94% Xorg 41019 service 106 10 4680K 2632K RUN 0 0:01 0.05% 0.05% stonerv= iew uname -a =46reeBSD gilgamesh.maestro 5.4-STABLE FreeBSD 5.4-STABLE #3: Wed May 11=20 10:38:27 EDT 2005 =20 service@gilgamesh.maestro:/usr/obj/usr/src/sys/GILGAMESH i386 The acpi_load=3D"YES" in /boot/loader.conf might do the trick. Tim Kellers CPE/NJIT