summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-10-16 09:46:03 +0000
committerkib <kib@FreeBSD.org>2010-10-16 09:46:03 +0000
commit7a0ff2f8293078127f771f81a764b16cef4684a8 (patch)
tree3b62f7183c79275f86723b8132ac2275836895e4 /share/man/man7
parent61f7905664175dc40eba88051c72cbfaec3e0c4c (diff)
downloadFreeBSD-src-7a0ff2f8293078127f771f81a764b16cef4684a8.zip
FreeBSD-src-7a0ff2f8293078127f771f81a764b16cef4684a8.tar.gz
Document vfs.ncsizefactor and vfs.ncnegfactor.
MFC after: 2 weeks
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/tuning.720
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7
index ccb69b6..76b3439 100644
--- a/share/man/man7/tuning.7
+++ b/share/man/man7/tuning.7
@@ -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 where the I/O load is such that
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
OpenPOWER on IntegriCloud