Subject: SLOW Kernel!?!?! from 02-08-93
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Robert Shady <rls@zeus.id.net>
List: current-users
Date: 02/09/1994 08:14:03
I installed the new kernel from sup sources yesterday.  Since I've installed
the new kernel, I am getting about 1-2 second delays everytime I type a 
command or do most anything.  These characters in VI are coming up somewhat
okay, but everything else is crawling... Any ideas?  It seems to be whenever
something needs to access the disk.. Here are the processes running..

  PID TT  STAT      TIME COMMAND
    0 ??  DLs    0:00.02 (swapper)
    1 ??  Is     0:00.59 init --
    2 ??  DL     0:00.05 (pagedaemon)
   36 ??  Is     0:00.04 portmap
   44 ??  Is     0:00.01 nfsiod 4
   45 ??  I      0:00.00 nfsiod 4
   46 ??  I      0:00.00 nfsiod 4
   47 ??  I      0:00.01 nfsiod 4
   57 ??  Ss     0:01.50 syslogd
   60 ??  Is     0:00.10 timed
   74 ??  Is     0:06.58 update
   76 ??  Is     0:01.06 cron
   80 ??  Is     0:00.51 routed
   83 ??  Is     0:02.05 named
   86 ??  Is     0:00.06 lpd
   90 ??  Is     0:00.34 inetd
  102 ??  Is     0:01.04 sendmail: accepting connections
26373 ??  S      0:00.66 telnetd
26374 p0  Ss     0:00.85 -tcsh (tcsh)
26414 p0  R+     0:00.16 ps -ax
25871 vg- I      0:00.00 slattach -h -s 38400 /dev/tty01
25882 vg  Is+    0:00.06 /usr/libexec/getty Pc console

Kernel configuration...

#
# GENERICAHA -- Generic machine w/aha driver -- distribution floppy
#
#	$Id: GENERICAHA,v 1.29 1994/01/06 12:07:49 cgd Exp $
#
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
ident		ZEUS
timezone	4 dst
maxusers	16
maxfdescs	4096

options		ZEUS			# Historical - Kernel Name

#options	DUMMY_NOPS		# speed hack; dangerous
#options	EON			# CLNP over IP
#options	"ISO_X25ESIS"		# ESIS over X.25
#options	IMP	 		# Broken ;(
#options	LOFS			# 
#options	MCLSHIFT=12		# log2(size) of a mbuf cluster
#options	PORTAL			#
#options	SUBNETSARELOCAL=0	# ??
#options	SHMMAXPAGES=1024	# 1024 is the default.
#options	SHMMAXPGS=1024		# 1024 pages is the default
#options	DDB			# kernel debugger; recommended
#options	USER_LDT
#options	MATH_EMULATE		# Intel 387 Math-Co emulation

options		SYSVMSG			# System V message queues; see msg.h
options		SYSVSEM			# System V semaphores; see sem.h
options		SYSVSHM			# System V shared memory; broken
options		SBPRO			# Soundblaster Pro Audio Board
options		CCITT			# X.25
options		"COMPAT_43"		# 4.3 system calls
options		COMPAT_NOMID		# old zmagic executables
options		DIAGNOSTIC		# internal consistency checking
options		DIRECTED_BROADCAST	# broadcast across subnets
options		ISO			# OSI
options		ISOFS			# ISO 9660 CD-ROM file system, with RR
options		LKM			# loadable kernel modules
options		MULTICAST		# Multicasting (M-BONE) Multimedia
options		MROUTING		# Multicast Routing
options		NS			# XNS
options		TPIP			# TP over IP
options		FASTLINKS		# fast symbolic links in FFS
options		FDESC			# /dev/fd
options		FFS			# Berkeley fast file system
options		FIFO			# fifos; recommended
options		GATEWAY			# packet forwarding
options		"I386_CPU"		# 386DX, 386SX, etc.
options		"I486_CPU"		# 486DX, 486SX, 486SLC, etc.
options		INET			# IP
options		KERNFS			# kernel file system; recommended
options		KTRACE			# system call tracing, a la ktrace(1)
options		MACHINE_NONCONTIG	# temporary kluge
options		MFS			# memory file system; uses RAM and swap
options		MSDOSFS			# MS-DOS FAT file system
options		NFSCLIENT		# Network File System client
options		NFSSERVER		# Network File System server
options		NSIP			# IDP over IP
options		PROCFS			# Process file system; recommended
options		QUOTA			# file system quotas
options		SCSI			# SCSI Devices present
options		SWAPPAGER		# paging
options		"TCP_COMPAT_42"		# 4.2 TCP bugs
options		TIMEZONE=300, DST=1	# time zone to read RTC in
options		UCONSOLE, XSERVER	# X-Server abilities
options		VNODEPAGER,DEVPAGER	# vnode and device node caching
options		"i387"			# Intel 387 Math-Co support

config		netbsd	root on sd0 swap on sd0

controller	isa0
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	aha0	at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
disk		sd0	at aha0 flags 0 drive ?
disk		sd1	at aha0 flags 0 drive ?
disk		sd2	at aha0 flags 0 drive ?
disk		sd3	at aha0 flags 0 drive ?
tape		st0	at aha0 flags 1 drive ?
tape		st1	at aha0 flags 1 drive ?
disk		cd0	at aha0	flags 2 drive ?
disk		cd1	at aha0	flags 2 drive ?

device		pc0	at isa? port "IO_KBD" tty irq 1 vector pcrint
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
device		com0	at isa? port "IO_COM1" tty irq 4 vector comintr
device		com1	at isa? port "IO_COM2" tty irq 3 vector comintr
device		com2	at isa? port "IO_COM3" tty irq 5 vector comintr
device		com3	at isa? port "IO_COM4" tty irq 9 vector comintr

device		lpt0	at isa? port "IO_LPT3" tty irq 7 vector lptintr
device		lpa0	at isa? port "IO_LPT1" tty
device		lpa1	at isa? port "IO_LPT2" tty

#device 		mcd0	at isa? port 0x320 irq 10
device		ed0 	at isa? port 0x300 net irq 9 vector edintr
device		sb0	at isa? port 0x220 bio irq 7 drq 1 vector sbintr

pseudo-device	ether		1
pseudo-device	log		1
pseudo-device	loop		1
pseudo-device	pty		32
pseudo-device	sl		1
pseudo-device	speaker		1
pseudo-device	bpfilter	10
pseudo-device	ppp		1
pseudo-device	tb		2
pseudo-device	audio		1

------------------------------------------------------------------------------