Subject: MP doesn't seem to work
To: None <port-sparc@netbsd.org>
From: Dunc <dunc@lemonia.org>
List: port-sparc
Date: 05/23/2003 16:08:04
Hi,
I've just built GENERIC.MP on a SS10 running 1.6.1 stable as of a couple of days ago
both cpu's get found at boot time:
% /sbin/dmesg |grep cpu
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
cpu1 at mainbus0: mid 10: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
cpu0: booting secondary processors: cpu1
however, in top, all processes are running on cpu0:
load averages: 0.10, 0.09, 0.08 15:47:41
16 processes: 15 sleeping, 1 on processor
CPU states: 0.0% user, 0.0% nice, 1.6% system, 0.0% interrupt, 98.4% idle
Memory: 9668K Act, 124K Wired, 2056K Exec, 5836K File, 102M Free
Swap: 257M Total, 257M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
205 dunc 28 0 196K 884K CPU/0 0:00 0.67% 0.24% top
5 root 18 0 0K 18M syncer/0 0:01 0.10% 0.10% [ioflush]
167 root 2 0 388K 1388K select/0 0:23 0.00% 0.00% sshd
188 root 2 0 476K 1732K netio/0 0:04 0.00% 0.00% sshd
180 root 18 0 88K 676K pause/0 0:00 0.00% 0.00% inetd
194 dunc 18 0 536K 356K pause/0 0:00 0.00% 0.00% csh
185 root 10 0 248K 640K nanosl/0 0:00 0.00% 0.00% cron
1 root 10 0 412K 272K wait/0 0:00 0.00% 0.00% init
187 root 3 0 64K 700K ttyin/0 0:00 0.00% 0.00% getty
193 dunc 2 0 460K 1736K select/0 0:00 0.00% 0.00% sshd
am i doing something wrong??
cheers
Dunc