summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-12-06 19:39:33 +0000
committerrwatson <rwatson@FreeBSD.org>2001-12-06 19:39:33 +0000
commit9de94cbbea4b2c1d41ee380e9eb42adb63d75369 (patch)
tree39059bb5fb6aed8b9a322f15c30bfa9beec617fa /share
parent9785934b4500e95a38c8a3d87e9875da65ab04df (diff)
downloadFreeBSD-src-9de94cbbea4b2c1d41ee380e9eb42adb63d75369.zip
FreeBSD-src-9de94cbbea4b2c1d41ee380e9eb42adb63d75369.tar.gz
vmiodirenable is now on by default; reflect that change in default,
and talk more about the reasons to turn it off (restricted memory environments), and less about why to turn it on.
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/tuning.710
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7
index f5ec3882..80df23f 100644
--- a/share/man/man7/tuning.7
+++ b/share/man/man7/tuning.7
@@ -387,8 +387,7 @@ the shared memory into core, making it unswappable.
.Pp
The
.Va vfs.vmiodirenable
-sysctl defaults to 0 (off) (though soon it will default to 1) and may be
-set to 0 (off) or 1 (on).
+sysctl defaults to 1 (on).
This parameter controls how directories are cached
by the system.
Most directories are small and use but a single fragment
@@ -404,14 +403,15 @@ memory is now available for caching directories.
The disadvantage is that
the minimum in-core memory used to cache a directory is the physical page
size (typically 4K) rather than 512 bytes.
-We recommend turning this option
-on if you are running any services which manipulate large numbers of files.
+We recommend turning this option off in memory-constrained environments;
+however, when on, it will substantially improve the performance of services
+which manipulate large numbers of files.
Such services can include web caches, large mail systems, and news systems.
Turning on this option will generally not reduce performance even with the
wasted memory but you should experiment to find out.
.Pp
There are various buffer-cache and VM page cache related sysctls.
-We do not recommend messing around with these at all.
+We do not recommend modifying those values.
As of
.Fx 4.3 ,
the VM system does an extremely good job tuning itself.
OpenPOWER on IntegriCloud