git: kernel - Increase NCMOUNT_NUMCACHE, add enable & statistics
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Feb 22 01:56:39 PST 2013
commit 7e9c94bdefc47c3ba8677bcab40222d826d7aeac
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list