Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2010 09:46:03 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213917 - head/share/man/man7
Message-ID:  <201010160946.o9G9k3FC069569@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010160946.o9G9k3FC069569>