git: kernel - Modestly reduce default maxvnodes calculation

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 16 14:38:08 PDT 2016


commit 3576ef4ed37c1a59c18a7e45424944afc84f1fb1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Oct 16 14:36:10 2016 -0700

    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.

Summary of changes:
 sys/kern/vfs_subr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3576ef4ed37c1a59c18a7e45424944afc84f1fb1


-- 
DragonFly BSD source repository



More information about the Commits mailing list