Subject: Slow SCSI performance on Q650
To: None <port-mac68k@netbsd.org>
From: Joe Blow <netbsd_mac68k_q650@hotmail.com>
List: port-mac68k
Date: 03/21/2001 17:41:41
Hi,

I've just installed NetBSD/mac68k 1.5 on a Quadra 650 and notice very slow 
disk performance.  I've included output from bonnie, uname, df and dmesg.  
Any ideas?

Thanks,

ns1# bonnie -d / -s 10
File '//Bonnie.1422', size: 10485760
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 3...Seeker 2...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- 
--Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec 
%CPU
           10   228 97.9   193 94.0   168 69.6   336 97.4   555 88.8  26.6 
21.6


ns1# bonnie -d /var -s 10
File '/var/Bonnie.1429', size: 10485760
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 3...Seeker 2...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- 
--Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- 
--Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec 
%CPU
           10   157 98.7   184 98.8   107 99.0   200 98.2   243 88.4  29.6 
77.2

ns1# uname -a
NetBSD ns1 1.5 NetBSD 1.5 (GENERIC) #0: Sun Nov 19 14:20:10 PST 2000     
root2@c610:/usr/cvs/src/sys/arch/mac68k/compile/GENERIC mac68k

ns1# df -k
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a      144831    42773    87574    32%    /
/dev/sd1e      435854   173687   218581    44%    /var
/dev/sd0g      139943   136198   -10250   108%    /usr
/dev/sd1a      145279        9   130742     0%    /bkroot
/dev/sd1f     1792716   507748  1105696    31%    /disk1
kernfs              1        1        0   100%    /kern
procfs              4        4        0   100%    /proc

ns1# dmesg
[ preserving 417041 bytes of netbsd a.out symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    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 1.5 (GENERIC) #0: Sun Nov 19 14:20:10 PST 2000
    root2@c610:/usr/cvs/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh Quadra 650  (68040)
cpu: delay factor 1067
total memory = 24576 KB
avail memory = 19008 KB
using 332 buffers containing 1328 KB of memory
mrg: 'Quadra/Centris ROMs' ROM glue, tracing off, debug off, silent traps
mrg: I/O map kludge for ROMs that use hardware addresses directly.
mainbus0 (root)
obio0 at mainbus0
esp0 at obio0 (quick): address 0x898000: NCR53C96, 16MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
adb0 at obio0
asc0 at obio0: Apple Sound Chip
intvid0 at obio0 @ f9001000: DAFB video subsystem, monitor sense 1
intvid0: 640 x 480, monochrome
macfb0 at intvid0
wsdisplay0 at macfb0: console (std, vt100 emulation)
sn0 at obio0: integrated Ethernet adapter
sn0: Ethernet address 08:00:07:9c:c0:3b
iwm0 at obio0: Apple GCR floppy disk controller
iwm: Chip revision not supported (-77)
zsc0 at obio0 chip type 0
zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
zstty0 at zsc0 channel 0
zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1
nubus0 at mainbus0
fpu0 at mainbus0 (mc68040)
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST3550N, 9416> SCSI2 0/direct 
fixed
sd0: 435 MB, 2128 cyl, 5 head, 83 sec, 512 bytes/sect x 891574 sectors
sd1 at scsibus0 target 4 lun 0: <SEAGATE, ST12400N SUN2.1G, 8720> SCSI2 
0/direct fixed
sd1: 2048 MB, 2621 cyl, 19 head, 84 sec, 512 bytes/sect x 4194685 sectors
adb0 (direct, II series): 2 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0: console keyboard, using wsdisplay0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse0 at ams0
boot device: sd0
root on sd0a dumps on sd0b
PRAM: 0x3ab7a1fc, macos_boottime: 0x3ab7a1f0.
root file system type: ffs


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com