Subject: hacks/optimizations for netbsd-sun3 and Cnews
To: None <port-sun3@NetBSD.ORG>
From: Jim Mercer <jim@reptiles.org>
List: port-sun3
Date: 12/05/1995 04:58:49
ok, i've got my news server up and running, and there do not appear to
be any serious flaws in things. (ie, no unexpected hangs, core-dumps or
other system problems).
however, running the same Cnews configuration as run on the exact hardware
un SunOS 4.1.1_U1, i am finding that the NetBSD-sun3 stuff just doesn't keep
up with the incoming newsflow.
i've tuned things up as best i can by spreading the load of $NEWSLIB and
in.coming/out.going and the articles on different disks.
i've put 64 meg of swap in for 32 meg of real ram (32 meg each on sd0 and sd1).
any suggestions to getting more disk, memory or CPU speedups would be
appreciated.
unfortunately, i may have to revert this box back to SunOS 4.1.1_U1 in order
to get the news batch processing performance i need. (or, ick, replace it
with an intel box).
the hardware is:
3/200 CPU
32 Meg (4 8 meg boards)
si SCSI controller
my config file for the kernel is:
include "std.sun3"
options FPU_EMULATE
options HAVECACHE # Sun3/260 VAC
maxusers 20
options SWAPPAGER, VNODEPAGER, DEVPAGER # paging
options KTRACE # system call tracing support
options DDB
options NFSSERVER # nfs server support
options NFSCLIENT # nfs client support
options FFS # ufs file system
options CD9660 # ISO 9660 + Rock Ridge file system
options FDESC # /dev/fd/*
options FIFO # FIFOs; RECOMMENDED
options KERNFS # /kern
options NULLFS # loopback file system
options PROCFS # /proc
options UNION # union file system
options INET # IP prototol stack support
options NFS_BOOT_RWSIZE=1024
options COMPAT_SUNOS # can run SunOS 4.1.1 executables
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_43 # and 4.3BSD
options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
options DIAGNOSTIC
options SCSIDEBUG
config netbsd root on sd0 swap on sd0 and sd1 and sd2 and sd3
ie0 at obio0 addr ? level ?
ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
ncr_si0 at obio0 addr ? level ?
ncr_si0 at vmes0 addr 0xff200000 level 2 vect 0x40
ncr_si1 at vmes0 addr 0xff204000 level 2 vect 0x41
scsibus* at scsi?
sd0 at scsibus? target 0 lun 0
sd1 at scsibus? target 1 lun 0
sd2 at scsibus? target 2 lun 0
sd3 at scsibus? target 3 lun 0
sd5 at scsibus? target 5 lun 0
sd* at scsibus? target ? lun ?
st0 at scsibus? target 4 lun 0
st* at scsibus? target ? lun ?
cd0 at scsibus? target 6 lun 0
cd* at scsibus? target ? lun ?
pseudo-device loop 1 # network loopback
pseudo-device bpfilter 8 # packet filter
pseudo-device pty 64 # pseudo-terminals
--
[ Jim Mercer Reptilian Research merce@iguana.reptiles.org +1 416 410-5633 ]
[ when you eat hot chiles you should follow them with some ice cream. Then, ]
[ when you're sitting on the toilet the next day and the burn commences, you ]
[ can holler "Come onnnnnn, ice cream!"-- from the chile-heads mailing list ]