Streamlining kernel

From: Greg Roberts <gregr_at_ee.uwa.edu.au>
Date: Tue, 24 Nov 1998 13:48:45 +0800 (WST)

Hi all. I'd like someone to let me know what options I can remove from the
current kernel configuration so as to remove unnecessary features and
reduce the size of the kernel. At the moment, the config for the kernel
was derived from booting off /genvmunix, and then building the kernel.
This has introduced all available options, but unfortunately I'm not sure
as to what can stay and what can be removed. Below is a list of these
options.

options UERF
options OSF
options _LMF_
options BIN_COMPAT
options COMPAT_43
options MACH
options MACH_IPC_TCACHE
options MACH_IPC_WWA
options MACH_IPC_XXXHACK
options BUFCACHE_STATS
options INOCACHE_STATS
options STAT_TIME
options VAGUE_STATS
options UFS
options NFS
options NFS_SERVER
options MSFS
options STRKINFO
options STREAMS
options LDTTY
options RPTY
options INET
options UIPC
options SYSV_COFF
options QUOTA
options LABELS
options SL
options SNMPINFO
options DLI
options BPARM
options BSD_TTY
options DLB
options PROCFS
options FFM_FS
options NTP_TIME
options KDEBUG
options PACKETFILTER
options PCKT
options TIRDWR
options TIMOD
options XTISO
options FFM_FS
options CDFS
options DEC_AUDIT

options DEC_ACL

#
# Standard options.
#
options UNIX_LOCKS
options SER_COMPAT
options RT_PREEMPT
options RT_SCHED
options RT_SCHED_RQ
options RT_PML
options RT_TIMER
options RT_SEM
options RT_CSEM
options RT_IPC
#
# pwrmgr option
#
options PWRMGR_ENABLED
makeoptions CDEBUGOPTS="-g3"
makeoptions CCOMPRESS="-compress"
makeoptions PROFOPTS="-DPROFILING -DPROFTYPE=4"

#
# Max number of processors in the system (DO NOT CHANGE)
#
processors 16

#
# Special options (see configuring the kernel chapter
# in the Guide to System Administration)
#
dfldsiz 134217728
maxdsiz 1073741824
dflssiz 2097152
maxssiz 33554432
cpu "DEC2100_A50"
maxusers 32
config vmunix swap generic

bus pci0 at nexus?
callout after_c "../bin/mkdata pci"
bus psiop0 at pci0 slot 6 vector psiopintr
controller scsi0 at psiop0 slot 0
bus isa0 at pci0 slot 7
callout after_c "../bin/mkdata isa"
controller gpc0 at isa0 slot 0 vector gpcintr
controller ace0 at isa0 slot 2 vector aceintr
controller ace1 at isa0 slot 3 vector aceintr
controller lp0 at isa0 slot 4 vector lpintr
controller fdi0 at isa0 slot 5
device disk fd0 at fdi0 drive 0
bus psiop1 at pci0 slot 12 vector psiopintr
controller scsi1 at psiop1 slot 0
controller tu0 at pci0 slot 13
controller tu1 at pci0 slot 14

pseudo-device sysv_hab
pseudo-device svid_three_hab
pseudo-device svr_four_hab
pseudo-device soe_two_hab
pseudo-device rt_hab
pseudo-device ether
pseudo-device loop
pseudo-device lv 2
pseudo-device prf 6
pseudo-device lsm_ted 0
pseudo-device lsm 1
pseudo-device pfm


Any help with this will be greatly appreciated.

------------
Greg Roberts

Computer Systems Officer
Dept. of Electrical & Electronic Engineering
The University of Western Australia
NEDLANDS WA 6907 Australia

Ph : +61-08-9380-7366
Fax : +61-08-9380-1065
Email : gregr_at_ee.uwa.edu.au
Received on Tue Nov 24 1998 - 05:46:27 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT