From owner-svn-src-head@FreeBSD.ORG Sat Oct 16 09:46:03 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88708106566C; Sat, 16 Oct 2010 09:46:03 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6A0248FC1D; Sat, 16 Oct 2010 09:46:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9G9k3n3069571; Sat, 16 Oct 2010 09:46:03 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9G9k3FC069569; Sat, 16 Oct 2010 09:46:03 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201010160946.o9G9k3FC069569@svn.freebsd.org> From: Konstantin Belousov Date: Sat, 16 Oct 2010 09:46:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213917 - head/share/man/man7 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2010 09:46:03 -0000 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