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

git: x86_64 kernel - Increase buffer cache and vnode resources, and more.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 6 Feb 2010 10:12:37 -0800 (PST)

commit 7c457ac840f7cd3cd8afc0a436867568241038c2
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Feb 6 09:13:11 2010 -0800

    x86_64 kernel - Increase buffer cache and vnode resources, and more.
    
    * Increase the maximum buffer cache from 200M to 400M.  Note that
      the buffer cache is backed by the VM page cache which is unlimited.
    
    * Use size_t for kmalloc() tracking
    
    * Allow 0 to be specified for kmalloc_raise_limit() which makes a
      kmalloc pool unlimited.
    
    * Adjust the kern.maxvnodes autocalculation for both i386 and x86_64.
      i386 boxes with maximum memory will get a slightly lower vnode
      limit while x86_64 boxes will get a dramatically higher vnode limit.
    
    * Remove kmalloc pool limits for vnodes, for HAMMER inodes, and
      for UFS inodes.  These pools track maxvnodes and do not require
      limits.
    
      This fixes occassional kmalloc assertions and allows the sysop to
      raise kern.maxvnodes on a running system.

Summary of changes:
 sys/cpu/x86_64/include/param.h |    2 +-
 sys/kern/kern_slaballoc.c      |   10 ++++++----
 sys/kern/vfs_lock.c            |    1 +
 sys/kern/vfs_subr.c            |   12 +++++++++---
 sys/sys/malloc.h               |    6 +++---
 sys/vfs/hammer/hammer_vfsops.c |   13 +++++--------
 sys/vfs/ufs/ffs_vfsops.c       |    1 +
 7 files changed, 26 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c457ac840f7cd3cd8afc0a436867568241038c2


-- 
DragonFly BSD source repository



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