svn commit: r213917 - head/share/man/man7

Konstantin Belousov kib at FreeBSD.org
Sat Oct 16 09:46:03 UTC 2010


Author: kib
Date: Sat Oct 16 09:46:03 2010
New Revision: 213917
URL: http://svn.freebsd.org/changeset/base/213917

Log:
  Document vfs.ncsizefactor and vfs.ncnegfactor.
  
  MFC after:	2 weeks

Modified:
  head/share/man/man7/tuning.7

Modified: head/share/man/man7/tuning.7
==============================================================================
--- head/share/man/man7/tuning.7	Sat Oct 16 09:44:31 2010	(r213916)
+++ head/share/man/man7/tuning.7	Sat Oct 16 09:46:03 2010	(r213917)
@@ -23,7 +23,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 11, 2010
+.Dd October 16, 2010
 .Dt TUNING 7
 .Os
 .Sh NAME
@@ -534,6 +534,24 @@ It may be tuned down in specific cases w
 read-ahead adversely affects performance or where system memory is really
 low.
 .Pp
+The
+.Va vfs.ncsizefactor
+sysctl defines how large VFS namecache may grow.
+The number of currently allocated entries in namecache is provided by
+.Va debug.numcache
+sysctl and the condition
+debug.numcache < kern.maxvnodes * vfs.ncsizefactor
+is adhered to.
+.Pp
+The
+.Va vfs.ncnegfactor
+sysctl defines how many negative entries VFS namecache is allowed to create.
+The number of currently allocated negative entries is provided by
+.Va debug.numneg
+sysctl and the condition
+vfs.ncnegfactor * debug.numneg < debug.numcache
+is adhered to.
+.Pp
 There are various other buffer-cache and VM page cache related sysctls.
 We do not recommend modifying these values.
 As of


More information about the svn-src-all mailing list