Core Duo - only one cpu being used

Shin-ichi Yoshimoto yosimoto at waishi.jp
Fri May 5 02:29:24 UTC 2006


On Thu, 04 May 2006 21:16:15 -0500, Eric Anderson wrote:
> Forgive me if I've missed this on a list somewhere, but My new laptop 
> with a Core Duo doesn't seem to use both CPU's.  It sees both, but I 
> never see anything on cpu 1.  Here's a top snippet:

My new desktop (M/B is ASUS N4L-VM DH) with a Core Duo is fine to use 
both CPU's in 6.1-RC like this:

last pid:   546;  load averages:  0.01,  0.11,  
0.07                                                                up 
0+00:06:20  11:23:32
23 processes:  1 running, 22 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  
100% idle
Mem: 9312K Active, 84M Inact, 81M Wired, 112M Buf, 1822M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU 
COMMAND
  533 root        1  76    0  2272K  1532K CPU0   0   0:00  0.00% top
  509 root        1   4    0  6104K  3064K sbwait 1   0:00  0.00% sshd
  401 root        1  76    0  2840K  1700K select 0   0:00  0.00% ntpd
  520 root        1  20    0  5388K  3064K pause  1   0:00  0.00% tcsh
  512 yosimoto    1  76    0  6080K  3076K select 0   0:00  0.00% sshd
  513 yosimoto    1  20    0  5060K  2848K pause  1   0:00  0.00% tcsh
  296 root        1  76    0  1300K   948K select 0   0:00  0.00% 
syslogd
  519 yosimoto    1   8    0  1604K  1292K wait   1   0:00  0.00% su
  432 root        1  76    0  3400K  2728K select 0   0:00  0.00% 
sendmail
  442 root        1   8    0  1312K  1044K nanslp 0   0:00  0.00% cron
  502 root        1   5    0  1268K   904K ttyin  0   0:00  0.00% getty
  504 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  507 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  508 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  505 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  506 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  501 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  503 root        1   5    0  1268K   904K ttyin  1   0:00  0.00% getty
  426 root        1  76    0  3356K  2540K select 0   0:00  0.00% sshd
  436 smmsp       1  20    0  3300K  2704K pause  0   0:00  0.00% 
sendmail
  262 root        1  82    0   500K   360K select 1   0:00  0.00% devd
  145 root        1  20    0  1176K   680K pause  0   0:00  0.00% 
adjkerntz
  463 root        1 139    0  1260K   768K select 0   0:00  0.00% moused

> All processes are on cpu 0.  Output of sysctl dev.cpu shows:

In my case:

# sysctl -a | grep dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU1
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU2
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0

---
Shin-ichi YOSHIMOTO <yosimoto at waishi.jp>
<http://darwin.waishi.jp/diary/>
<http://www.ugon.jp/>



More information about the freebsd-hackers mailing list