DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - reformulate the maxusers auto-sizing calculation


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Nov 2011 23:46:14 -0700 (PDT)

commit 50eff0851a615fa611e714b1f8cd19f19ea6816b
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]