Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2006 09:54:15 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   anyone with a p4 HT machine ever see anything from cpu1?
Message-ID:  <200607300954.15235.freebsd@dfwlp.com>

next in thread | raw e-mail | index | archive | help
i have smp support compiled into my kernel, an still, i never see anything on 
the HT'd cpu.  i realize that most ppl believe that the HT portion of the 
technology was just a bunch of smoke blown up our butts by intel, but windows 
sure loves to bounce that extra cpu graph around a lot.  below is just a snip 
of my top window, but as far down as i can stretch my 1280x1024 screen, its 
all "cpu 0" processes, even while compiling.

last pid: 16214;  load averages:  0.75,  0.35,  0.17    up 1+00:37:34  
09:43:04
114 processes: 2 running, 112 sleeping
CPU states: 34.2% user,  0.0% nice, 15.4% system,  0.4% interrupt, 50.0% idle
Mem: 202M Active, 456M Inact, 232M Wired, 860K Cache, 110M Buf, 97M Free
Swap: 983M Total, 983M Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
 8805 root          1   8    0 35880K 35552K wait   0   0:11 15.64% ruby18
15952 root          1   8    0  1224K  1112K wait   0   0:00  8.00% make
15925 root          1   8    0  1224K  1112K wait   0   0:00  3.59% make
  656 jhorne        1  96    0   303M 53372K select 0   8:25  2.69% Xorg
  742 jhorne        1  96    0 12632K  8252K select 0  16:42  1.03% gkrellm
 1337 jhorne        1  96    0 29092K 21276K select 0   0:02  0.78% kdeinit
  732 jhorne        1  96    0 30700K 22904K select 0   1:21  0.10% kdeinit
  293 root          1  96    0  1260K   684K select 0   0:24  0.05% moused
  752 jhorne        1  96    0 25780K 17952K select 0   7:07  0.00% kdeinit
  738 jhorne        4  20  -76 14012K  8132K kserel 0   1:34  0.00% artsd
  758 jhorne        1  96    0 31820K 21544K select 0   1:24  0.00% kdeinit
  720 jhorne        1  96    0 30724K 22796K select 0   1:13  0.00% kdeinit
  695 jhorne        1  96    0  3532K  2012K select 0   0:41  0.00% gam_server
  728 jhorne        1  96    0 25596K 17556K select 0   0:12  0.00% kdeinit

dmesg shows that freebsd sees the other cpu...

[root@athena ~]# dmesg | grep cpu
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1

FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
SMP: AP CPU #1 Launched!

so is the SMP portion of the technology as worthless as 'they' say?

thanks,
jonathan



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