kernel - Modestly reduce default maxvnodes calculation
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Oct 2016 21:36:10 +0000 (14:36 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 16 Oct 2016 21:36:10 +0000 (14:36 -0700)
commit3576ef4ed37c1a59c18a7e45424944afc84f1fb1
treed23fd947d91ffe1af95074871f18bf0c7d1bd056
parentfd74079f8d77551dc82099abf893060bf62f2ffb
kernel - Modestly reduce default maxvnodes calculation

* Change the multipliers to modestly reduce the default kern.maxvnodes
  calculation.  For example, maxvnodes on a machine with 8GB of ram will
  be reduced from 598103 to 478483.

* Primarily targetted to hammer filesystems which can wind up using an
  unnecessarily huge amount of kernel memory caching vnode-related
  structures.
sys/kern/vfs_subr.c