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

git: kernel - Increase NCMOUNT_NUMCACHE, add enable & statistics


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Feb 2013 01:56:39 -0800 (PST)

commit 7e9c94bdefc47c3ba8677bcab40222d826d7aeac
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Feb 22 01:54:47 2013 -0800

    kernel - Increase NCMOUNT_NUMCACHE, add enable & statistics
    
    * Increase NCMOUNT_NUMCACHE to 1009 (prime number), change to modulo.
      This cache improves long namecache path lookups.
    
    * Add enable and statistics.  Cache defaults to enabled.
    
        debug.ncmount_cache_enable	(defaults to 1)
        debug.ncmount_cache_hit
        debug.ncmount_cache_miss
        debug.ncmount_cache_overwrite

Summary of changes:
 sys/kern/vfs_cache.c | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



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