summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-04-19 13:47:53 +0000
committersobomax <sobomax@FreeBSD.org>2001-04-19 13:47:53 +0000
commit10bf3e0199eaf7fe3673bc54065c46e4935b2ed7 (patch)
tree8ccb0811e5ffc7b436cef70543bb1dcee33fcee6
parent783e5f7b883448f537fc71e22084117348742447 (diff)
downloadFreeBSD-src-10bf3e0199eaf7fe3673bc54065c46e4935b2ed7.zip
FreeBSD-src-10bf3e0199eaf7fe3673bc54065c46e4935b2ed7.tar.gz
o Install sysctl.conf with all other *.conf files;
o put a note into sysctl.conf describing vfs.vmiodirenable knob. OK'ed by: alfred
-rw-r--r--etc/Makefile4
-rw-r--r--etc/sysctl.conf7
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 2dc2b2c..0f3d3d5 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -15,8 +15,8 @@ BIN1= amd.map apmd.conf auth.conf \
printcap profile protocols \
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
rc.isdn rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
- rc.syscons rc.sysctl remote rpc security services shells syslog.conf \
- usbd.conf \
+ rc.syscons rc.sysctl remote rpc security services shells sysctl.conf \
+ syslog.conf usbd.conf \
etc.${MACHINE_ARCH}/disktab \
etc.${MACHINE_ARCH}/rc.${MACHINE_ARCH} \
etc.${MACHINE_ARCH}/ttys \
diff --git a/etc/sysctl.conf b/etc/sysctl.conf
index e3b25b9..93758e1 100644
--- a/etc/sysctl.conf
+++ b/etc/sysctl.conf
@@ -3,3 +3,10 @@
# This file is read when going to multi-user and its contents piped thru
# ``sysctl -w'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#
+
+vfs.vmiodirenable=0 # Set to 1 to enable the use of the VM subsystem to
+ # back UFS directory memory requirements. Because of
+ # the amount of wasted memory this causes it's not
+ # advised for machines with less than 64MB of RAM, but
+ # on machines with more than 64MB it can provide a
+ # substantial benefit related to directory caching
OpenPOWER on IntegriCloud