From 1dd8bcf1445bca333647bcaca4e3cc9072667c7a Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 19 Apr 2001 13:47:53 +0000 Subject: [PATCH] o Install sysctl.conf with all other *.conf files; o put a note into sysctl.conf describing vfs.vmiodirenable knob. OK'ed by: alfred --- etc/Makefile | 4 ++-- etc/sysctl.conf | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/etc/Makefile b/etc/Makefile index 2dc2b2c8f35..0f3d3d5ee8a 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 e3b25b99567..93758e1ced0 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