freebsd-dev/sys/conf/options
Peter Wemm 114a8cff43 Add an option "EXTRA_VNODES" to cause an extra number of vnode structures
to be allocated at boot time.  This is an expensive option, as they
consume physical ram and are not pageable etc.  In certain situations,
this kind of option is quite useful, especially for news servers that
access a large number of directories at random and torture the name cache.
Defining 5000 or 10000 extra vnodes should cut down the amount of vnode
recycling somewhat, which should allow better name and directory caching
etc.

This is a "your mileage may vary" option, with no real indication of
what works best for your machine except trial and error.  Too many will
cost you ram that you could otherwise use for disk buffers etc.

This is based on something John Dyson mentioned to me a while ago.
1996-05-31 00:20:34 +00:00

68 lines
1.4 KiB
Plaintext

# $Id: options,v 1.12 1996/05/11 04:39:37 bde Exp $
# Option name filename
BOUNCE_BUFFERS opt_bounce.h
DDB
DDB_UNATTENDED opt_ddb.h
KTRACE
# Options for static file systems. These should only be used at config
# time, since the corresponding lkms cannot work if there are any static
# dependencies. Unusability is enforced by hiding the defines for the
# options in a never-included header.
FDESC opt_dontuse.h
KERNFS opt_dontuse.h
NULLFS opt_dontuse.h
PORTAL opt_dontuse.h
PROCFS opt_dontuse.h
UMAPFS opt_dontuse.h
# The union static file system has bogus static dependencies, so it isn't
# hidden yet.
UNION
QUOTA
SYSVSHM opt_sysvipc.h
SYSVSEM opt_sysvipc.h
SYSVMSG opt_sysvipc.h
UCONSOLE
# Options used only in param.c.
EXTRAVNODES opt_param.h
NMBCLUSTERS opt_param.h
SHMMAXPGS opt_param.h
SHMMAX opt_param.h
SHMMIN opt_param.h
SHMMNI opt_param.h
SHMSEG opt_param.h
SHMALL opt_param.h
SEMMAP opt_param.h
SEMMNI opt_param.h
SEMMNS opt_param.h
SEMMNU opt_param.h
SEMMSL opt_param.h
SEMOPM opt_param.h
SEMUME opt_param.h
SEMUSZ opt_param.h
SEMVMX opt_param.h
SEMAEM opt_param.h
MSGMAX opt_param.h
MSGMNI opt_param.h
MSGMNB opt_param.h
MSGTQL opt_param.h
MSGSSZ opt_param.h
MSGSEG opt_param.h
NBUF opt_param.h
# Generic SCSI options.
SCSI_REPORT_GEOMETRY opt_scsi.h
SCSI_DELAY opt_scsi.h
# Resource limits.
CHILD_MAX opt_rlimit.h
OPEN_MAX opt_rlimit.h
# Net stuff.
MROUTING opt_mrouting.h