[PC-BSD Commits] r3568 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue Mar 3 08:48:33 PST 2009


Author: kris
Date: 2009-03-03 08:48:33 -0800 (Tue, 03 Mar 2009)
New Revision: 3568

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
Log:

Set kern.hz to 100 on regular systems, seems to provide nice speed boost



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2009-03-03 16:43:39 UTC (rev 3567)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2009-03-03 16:48:33 UTC (rev 3568)
@@ -107,6 +107,9 @@
   # We are on vmware, lets set the kern.hz to a better value
   echo "kern.hz=30
 hint.acpi.0.disabled=1" >> ${FSMNT}/boot/loader.conf
+else
+  # On a regular system, lets try kern.hz=100, seems to speed up the processing
+  echo "kern.hz=100" >> ${FSMNT}/boot/loader.conf
 fi 
 
 # Clear out the periodic date files



More information about the Commits mailing list