aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2010-10-16 09:46:03 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2010-10-16 09:46:03 +0000
commit4518d9ae4ca69e693a14e6744b10402f6ce31cc6 (patch)
tree3b62f7183c79275f86723b8132ac2275836895e4 /share
parent420cfbb4602d9aa55db9aa8b3078503e3860af6f (diff)
downloadsrc-4518d9ae4ca69e693a14e6744b10402f6ce31cc6.tar.gz
src-4518d9ae4ca69e693a14e6744b10402f6ce31cc6.zip
Document vfs.ncsizefactor and vfs.ncnegfactor.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=213917
Diffstat (limited to 'share')
-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 ccb69b64bb03..76b3439241b0 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