Subject: current/sparc MP top output is cool
To: None <tech-smp@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-smp
Date: 04/21/2004 00:37:41
Ok, just booted -current as of yesterday on my SS20, looks great!
The output from top is interesting:
load averages: 0.22, 0.47, 0.28 07:33:06
26 processes: 25 sleeping, 1 on processor
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU1 states: 0.5% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.5% idle
Memory: 20M Act, 212K Wired, 4000K Exec, 3052K File, 123M Free
Swap: 300M Total, 300M Free
Seconds to delay:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
595 root 29 0 172K 1024K CPU/1 0:16 0.00% 0.00% top
510 root 2 0 348K 1608K select/1 0:10 0.00% 0.00% sshd
8 root 18 0 0K 9700K syncer/1 0:00 0.00% 0.00% [ioflush]
605 root 18 0 268K 904K pause/1 0:00 0.00% 0.00% ksh
5 root 10 0 0K 9700K nfsidl/1 0:00 0.00% 0.00% [nfsio]
3 root 10 0 0K 9700K nfsidl/1 0:00 0.00% 0.00% [nfsio]
4 root 10 0 0K 9700K nfsidl/1 0:00 0.00% 0.00% [nfsio]
6 root 10 0 0K 9700K nfsidl/1 0:00 0.00% 0.00% [nfsio]
1 root 10 0 60K 764K wait/1 0:00 0.00% 0.00% init
594 root 10 0 228K 748K nanosl/1 0:00 0.00% 0.00% cron
309 root 10 0 212K 616K mfsidl/0 0:00 0.00% 0.00% mount_mfs
I've another two cpu's to plug into this thing, four lines of CPU
states might be excessive? Anyway, here's the obligatory dmesg output
;-)
# cat /var/run/dmesg.boot
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 2.0C (GENERIC.MP) #1: Tue Apr 20 16:44:36 PDT 2004
sjg@void.crufty.net:/j/obj/NetBSD/current/sparc/obj/g/NetBSD/current/src/sys/arch/sparc/compile/GENERIC.MP
total memory = 159 MB
avail memory = 151 MB
bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
mainbus0 (root): SUNW,SPARCstation-20: hostid 72725820
cpu0 at mainbus0: mid 8: RT620/625 @ 100 MHz, on-chip FPU
cpu0: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 9: RT620/625 @ 100 MHz, on-chip FPU
cpu1: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 48
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:72:58:20
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
qec0 at sbus0 slot 2 offset 0x20000 level 4 (ipl 7): 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:72:58:20
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:72:58:20
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:72:58:20
qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:72:58:20
cgsix0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11
cgsix0: attached to /dev/fb
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> disk fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 5 lun 0: <YAMAHA, CRW8424S, 1.0g> cdrom removable
cd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
cd1 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> cdrom removable
cd1: async, 8-bit transfers
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 203.12.250.10
nfs_boot: my_domain=crufty.net
nfs_boot: my_addr=203.12.250.2
nfs_boot: my_mask=255.255.255.192
nfs_boot: gateway=203.12.250.3
root on 203.12.250.10:/export/diskless/too/root
root file system type: nfs
cpu0: booting secondary processors: cpu1
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 2.0C (GENERIC.MP) #1: Tue Apr 20 16:44:36 PDT 2004
sjg@void.crufty.net:/j/obj/NetBSD/current/sparc/obj/g/NetBSD/current/src/sys/arch/sparc/compile/GENERIC.MP
total memory = 159 MB
avail memory = 151 MB
bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
mainbus0 (root): SUNW,SPARCstation-20: hostid 72725820
cpu0 at mainbus0: mid 8: RT620/625 @ 100 MHz, on-chip FPU
cpu0: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 9: RT620/625 @ 100 MHz, on-chip FPU
cpu1: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 48
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:72:58:20
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
qec0 at sbus0 slot 2 offset 0x20000 level 4 (ipl 7): 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:72:58:20
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:72:58:20
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:72:58:20
qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:72:58:20
cgsix0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11
cgsix0: attached to /dev/fb
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> disk fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 5 lun 0: <YAMAHA, CRW8424S, 1.0g> cdrom removable
cd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
cd1 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> cdrom removable
cd1: async, 8-bit transfers
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 203.12.250.10
nfs_boot: my_domain=crufty.net
nfs_boot: my_addr=203.12.250.2
nfs_boot: my_mask=255.255.255.192
nfs_boot: gateway=203.12.250.3
root on 203.12.250.10:/export/diskless/too/root
root file system type: nfs
cpu0: booting secondary processors: cpu1
#