Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2005 11:59:23 -0400
From:      Tim Kellers <kellers@NJIT.EDU>
To:        freebsd-questions@freebsd.org
Subject:   Re: Top only showing one active CPU on HTT system
Message-ID:  <200505241159.24346.kellers@njit.edu>
In-Reply-To: <200505241053.36377.kirk@strauser.com>
References:  <200505241053.36377.kirk@strauser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505241159.24346.kellers>