freebsd-dev/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
..
alpha Include <sys/buf.h> so that this does't blow up with B_WRITE undefined. 1996-05-01 06:31:18 +00:00
amd64 The wrong address (pindex) was being used for the page table directory. No 1996-05-29 05:09:07 +00:00
compat/linux First pass at cleaning up macros relating to pages, clusters and all that. 1996-05-02 10:43:17 +00:00
compile
conf Add an option "EXTRA_VNODES" to cause an extra number of vnode structures 1996-05-31 00:20:34 +00:00
ddb Clean up various compiler warnings. Most (if not all) were benign 1996-05-08 04:29:08 +00:00
dev When estimating the time (in ms) left to drain the output queue based 1996-05-30 23:41:35 +00:00
fs First pass at cleaning up macros relating to pages, clusters and all that. 1996-05-02 10:43:17 +00:00
geom Add #ifndef/#endif around the "#define CCD_OFFSET 16", so you can override 1996-05-13 09:17:42 +00:00
gnu Removed bogus _BEGIN_DECLS/_END_DECLS. 1996-05-01 02:16:17 +00:00
i386 Add an option "EXTRA_VNODES" to cause an extra number of vnode structures 1996-05-31 00:20:34 +00:00
isa Fix the warnings about "cant inline call to xxx" by reordering two 1996-05-27 06:02:52 +00:00
isofs/cd9660 First pass at cleaning up macros relating to pages, clusters and all that. 1996-05-02 10:43:17 +00:00
kern Add an option "EXTRA_VNODES" to cause an extra number of vnode structures 1996-05-31 00:20:34 +00:00
libkern removed: 1996-05-02 14:21:14 +00:00
miscfs Fix the reproto.sh script that was broken after my KNFification. 1996-04-07 01:15:03 +00:00
modules `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
msdosfs Fix adjkerntz expression priority. 1996-04-05 18:59:06 +00:00
net added missing semicolon 1996-05-26 22:05:36 +00:00
netatalk Obtained from: netatalk distribution netatalk@itd.umich.edu 1996-05-24 01:35:45 +00:00
netinet Conditionalize calls to IPFW code on COMPAT_IPFW. This is done slightly 1996-05-22 17:23:09 +00:00
netipx Make IPXIP work. 1996-05-08 19:31:48 +00:00
netns finish killing off netns. (For some reason, CVS `undeleted' these 1996-02-13 18:19:17 +00:00
nfs removed: 1996-05-02 14:21:14 +00:00
nfsclient removed: 1996-05-02 14:21:14 +00:00
nfsserver #include <sys/filedesc.h> explicitly instead of depending on it being 1996-04-30 23:26:52 +00:00
pc98/pc98 Eliminated sloppy common-style declarations. Now there are no duplicated 1996-04-13 12:45:57 +00:00
pccard Adds the APM hooks into the generic pccard kernel files. With this code 1996-04-23 16:03:08 +00:00
pci Merge in changes for NetBSD/OpenBSD. 1996-05-30 07:20:17 +00:00
powerpc/include Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
rpc Fix a bunch of spelling errors in the comment fields 1996-01-30 23:33:04 +00:00
scsi Correct a few mode page definitions according to the SCSI-2 specs. 1996-05-19 19:29:09 +00:00
sys Add an option "EXTRA_VNODES" to cause an extra number of vnode structures 1996-05-31 00:20:34 +00:00
tools Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
ufs Clean up various compiler warnings. Most (if not all) were benign 1996-05-08 04:29:08 +00:00
vm Correct some unfortunately chosen constants, otherwise, not enough 1996-05-29 06:33:30 +00:00
Makefile Removed almost all traces of libkern.a. The objects that were in 1995-12-26 13:58:31 +00:00