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

svn at pcbsd.org svn at pcbsd.org
Wed Jul 23 14:04:53 PDT 2008


Author: kris
Date: 2008-07-23 14:04:53 -0700 (Wed, 23 Jul 2008)
New Revision: 2430

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

added our kernel tuning options to loader.conf when using ZFS



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-07-23 21:02:46 UTC (rev 2429)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2008-07-23 21:04:53 UTC (rev 2430)
@@ -149,6 +149,8 @@
   ZFSROOT="`cat /uzip/ZFS-root`"
   echo 'zfs_load="YES"' >> ${FSMNT}/boot/loader.conf
   echo "vfs.root.mountfrom=\"zfs:${ZFSROOT}/root\"" >> ${FSMNT}/boot/loader.conf
+  echo 'vm.kmem_size="512M"' >>${FSMNT}/boot/loader.conf
+  echo 'vm.kmem_size_max="512M"' >>${FSMNT}/boot/loader.conf
 
   # Move the kernel to /bootdir so we can bootup properly
   mv -f ${FSMNT}/boot ${FSMNT}/bootdir/



More information about the Commits mailing list