summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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