git: kernel - reformulate the maxusers auto-sizing calculation

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 1 23:46:45 PDT 2011


commit 50eff0851a615fa611e714b1f8cd19f19ea6816b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 1 23:44:37 2011 -0700

    kernel - reformulate the maxusers auto-sizing calculation
    
    * Reformulate the maxusers auto-sizing calculation, which is used as a
      basis for mbufs and mbuf cluster calculations.  Base the values on
      limsize (basically the lower of KVM vs physical memory).
    
    * Remove artificial limits.
    
    * This basically effects x86-64 systems with > 4G of ram, greatly
      increasing the default maxusers value and related mbuf limits.

Summary of changes:
 sys/kern/subr_param.c |   29 +++++++++++++++++++++--------
 1 files changed, 21 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/50eff0851a615fa611e714b1f8cd19f19ea6816b


-- 
DragonFly BSD source repository





More information about the Commits mailing list