freebsd-dev/sys/sys
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
..
_sigset.h Add a SV_NODEFER and SV_RESETHAND #define, after Bruce pointed out that 1996-03-30 15:10:18 +00:00
acct.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
bio.h Remove buf->b_actf, nobody uses it anymore. 1996-05-03 20:56:09 +00:00
bitstring.h
buf.h Remove buf->b_actf, nobody uses it anymore. 1996-05-03 20:56:09 +00:00
callout.h
ccdvar.h Add mirror flag. 1996-01-30 22:33:31 +00:00
cdefs.h Changed noreturn' to __noreturn__' so that all headers don't break if 1996-04-13 14:23:29 +00:00
cdio.h Since ioc_read_subchannel don't used for hardware, remove padding. 1996-02-03 14:19:13 +00:00
chio.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
clist.h Got rid of unused nclist declaration. 1995-01-07 06:08:15 +00:00
conf.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
cons.h Move sysctl machdep.consdev to cons.c 1995-12-09 20:39:47 +00:00
dataacq.h Rename "aio.h" to "dataacq.h" 1995-04-28 12:08:03 +00:00
devconf.h Mega commit for sysctl. 1995-11-20 12:42:39 +00:00
devfsext.h Removed prototype for devfs_add_devsw() as it no longer exists 1996-04-03 03:03:55 +00:00
device.h Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
dir.h
dirent.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
disk.h disksort() is gone, all drivers now use tqdisksort(). 1996-05-03 15:05:17 +00:00
disklabel.h Bring in ccd support. 1996-05-03 05:38:34 +00:00
diskmbr.h Bring in ccd support. 1996-05-03 05:38:34 +00:00
diskpc98.h Bring in ccd support. 1996-05-03 05:38:34 +00:00
diskslice.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
dkbad.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
dkstat.h Fix comments on dk_wds and dk_wpms to match code. Improve comment on 1994-12-24 10:11:18 +00:00
dmap.h Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
domain.h Completed function declarations and/or added prototypes. 1995-11-21 12:55:26 +00:00
errno.h Reviewed by: julian and (hsu?) 1996-01-22 00:02:33 +00:00
exec.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
fbio.h
fcntl.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
fdcio.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
file.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
filedesc.h kern_descrip.c: add fdshare()/fdcopy() 1996-02-23 18:49:25 +00:00
filio.h
ftape.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
gmon.h Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
imgact_aout.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
imgact_elf.h First attempt at FreeBSD & Linux ELF support. 1996-03-10 08:42:54 +00:00
imgact.h Removed unnecessary #includes from <sys/imgact.h> so that it is 1996-05-01 02:43:13 +00:00
inflate.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ioccom.h removed: 1996-05-02 14:21:14 +00:00
ioctl_compat.h
ioctl_meteor.h A patch for the meteor device driver. It fixes: 1996-05-17 09:43:15 +00:00
ioctl.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
ipc.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
joystick.h Put the joystick status in a struct {int x, y, b1, b2;} rather than in a 1995-02-22 23:34:58 +00:00
kernel.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
ktrace.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
libkern.h Don't depend on <sys/types.h> including <sys/cdefs.h>. 1996-04-19 17:39:57 +00:00
linedisc.h Merge in Lite2: stylistic changes to function prototypes 1996-03-11 02:13:32 +00:00
link_aout.h Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
link_elf.h Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
lkm.h devsw tables are now arrays of POINTERS to struct [cb]devsw 1995-12-13 15:13:57 +00:00
lockf.h Removed bogus _BEGIN_DECLS/_END_DECLS. 1996-05-01 02:16:17 +00:00
malloc.h removed: 1996-05-02 14:21:14 +00:00
mbuf.h Allocate mbufs from a separate submap so that NMBCLUSTERS works as 1996-05-10 19:28:55 +00:00
md5.h Add a structure definition to the MD* Contexts, so that cvs can use 1995-12-11 02:18:22 +00:00
mdioctl.h Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
mman.h Initial support for MADV_FREE, support for pages that we don't care 1996-05-23 00:45:58 +00:00
mount.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
mouse.h Added the psm driver from 1.1.5. 1994-09-09 11:27:50 +00:00
msg.h Fix several sysinit functions that had the wrong type and unnecessarily 1995-08-30 00:33:35 +00:00
msgbuf.h Made msgbuf range checking more robust and clean. 1995-08-07 07:58:23 +00:00
mtio.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
namei.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
nlist_aout.h Document some of the fields used by the new shlib code. 1994-12-23 22:32:48 +00:00
param.h removed: 1996-05-02 14:21:14 +00:00
pipe.h Made this self-sufficent (except for <sys/types.h>) when compiled in 1996-05-01 04:18:20 +00:00
proc.h Removed prototype for obsolete function sleep(). 1996-05-01 02:52:05 +00:00
protosw.h Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
ptrace.h proc.h: Add PHOLD()/PRELE() macros to ensure the U area is not swapped 1996-01-24 18:11:23 +00:00
queue.h This set of commits to the VM system does the following, and contain 1996-05-18 03:38:05 +00:00
random.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
reboot.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
resource.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
resourcevar.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
rlist.h In order to fix some concurrency problems with the swap pager early 1996-03-03 21:11:08 +00:00
rtprio.h "idle priority" support. Based on code from Henrik Vestergaard Draboel, 1994-10-02 04:48:21 +00:00
scsiio.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
select.h
selinfo.h
sem.h Call semexit() from exit(), in order to process `undo vectors'. 1995-12-27 15:25:30 +00:00
shm.h removed: 1996-05-02 14:21:14 +00:00
signal.h Add a SV_NODEFER and SV_RESETHAND #define, after Bruce pointed out that 1996-03-30 15:10:18 +00:00
signalvar.h re-add the ps_signodefer. The interaction between SA_NODEFER and the 1996-03-30 15:08:14 +00:00
snoop.h A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
socket.h Make it possible to return more than one piece of control information 1996-05-09 20:15:26 +00:00
socketvar.h Made this self-sufficent (apart from <sys/types.h>) again. It included 1996-05-01 01:53:59 +00:00
sockio.h Removed SIOCSETRTINFO, SIOCGETRTINFO, and SIOCGETVIFINF ioctl's, which 1996-05-18 20:33:42 +00:00
soundcard.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
stat.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
syscall-hide.h reran makesyscalls.sh after "int len" -> "size_t len" changes. 1996-03-02 17:01:36 +00:00
syscall.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
sysctl.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
sysent.h Fixed a typo in the comment for sv_errsize. 1996-04-04 01:08:20 +00:00
syslimits.h Make CHILD_MAX and OPEN_MAX a tunable parameter. 1994-12-03 17:36:37 +00:00
syslog.h Back out change of log from being in /var/run to back in /dev 1996-03-28 18:29:14 +00:00
sysproto.h reran makesyscalls.sh after "int len" -> "size_t len" changes. 1996-03-02 17:01:36 +00:00
systm.h Clean up various compiler warnings. Most (if not all) were benign 1996-05-08 04:29:08 +00:00
tablet.h Made this compile again. A comment delimiter got deleted in the Lite2 1996-05-01 01:46:00 +00:00
termios.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
time.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
timeb.h
timers.h Obtained from: uthreads package 1996-01-22 00:32:08 +00:00
times.h
timetc.h Merge in Lite2: make timespec struct POSIX.4 compliant 1996-03-11 02:11:25 +00:00
timex.h Redo Kernel NTP PLL support, kernel side. 1994-09-18 20:40:01 +00:00
tprintf.h
tty.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
ttychars.h
ttycom.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ttydefaults.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
ttydev.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
types.h Removed gratuitous differences from Lite2. 1996-04-30 23:35:57 +00:00
ucred.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
uio.h Added UIO_NOCOPY. 1995-04-04 17:01:49 +00:00
un.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
unistd.h Implement the RFNOWAIT flag for rfork(). If set this flag will cause the 1996-04-17 17:05:08 +00:00
unpcb.h
user.h A really gross hack to make more of the source tree compile again. 1995-12-09 05:10:55 +00:00
utsname.h
vadvise.h
vcmd.h
vlimit.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
vmmeter.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
vnioctl.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
vnode.h Add an option "EXTRA_VNODES" to cause an extra number of vnode structures 1996-05-31 00:20:34 +00:00
vsio.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
wait.h Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all 1996-03-11 19:39:40 +00:00
wormio.h Add <sys/wormio.h>, containing the declarations that are shared between 1996-01-27 17:49:47 +00:00