Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librump document RUMP_NVNODES



details:   https://anonhg.NetBSD.org/src/rev/bed4676bf2e1
branches:  trunk
changeset: 758889:bed4676bf2e1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Nov 19 17:35:04 2010 +0000

description:
document RUMP_NVNODES

diffstat:

 lib/librump/rump.3 |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 064e88b8f084 -r bed4676bf2e1 lib/librump/rump.3
--- a/lib/librump/rump.3        Fri Nov 19 17:11:20 2010 +0000
+++ b/lib/librump/rump.3        Fri Nov 19 17:35:04 2010 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: rump.3,v 1.4 2010/09/02 15:24:34 pooka Exp $
+.\"     $NetBSD: rump.3,v 1.5 2010/11/19 17:35:04 pooka Exp $
 .\"
 .\" Copyright (c) 2008-2010 Antti Kantee.  All rights reserved.
 .\"
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 26, 2010
+.Dd November 19, 2010
 .Dt RUMP 3
 .Os
 .Sh NAME
@@ -87,6 +87,14 @@
 If set, indicates how many bytes of memory a rump kernel will
 allocate before attempting to purge caches.
 The default is as much as the host allows.
+.It Dv RUMP_NVNODES
+Sets the value of the kern.maxvnodes sysctl node to the indicated amount.
+Adjusting this may be useful for example when testing vnode reclaim
+code paths.
+While the same value can be set by means of sysctl, the env variable
+is often more convenient for quick testing.
+As expected, this option has effect only in rump kernels which support VFS.
+The current default is 1024 vnodes.
 .El
 .Pp
 A number of interfaces are available for requesting services from



Home | Main Index | Thread Index | Old Index