summaryrefslogtreecommitdiffstats
path: root/conf.default
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-20 14:40:15 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-20 14:40:15 -0500
commitfeae85bc7ed29288e3cac79028c9640b5d735f76 (patch)
tree8a905fb640a30bd91c2eec0659f21f7d5230a9d6 /conf.default
parentc049daefa8265e13878a09d62004b6acca7c4e2f (diff)
downloadpfsense-feae85bc7ed29288e3cac79028c9640b5d735f76.zip
pfsense-feae85bc7ed29288e3cac79028c9640b5d735f76.tar.gz
Increase vfs.read_max to 32. See http://ivoras.sharanet.org/blog/tree/2010-11-19.ufs-read-ahead.html .. This can help dramatically if using Squid or any other packae that does a lot of hard disk reads.
Diffstat (limited to 'conf.default')
-rw-r--r--conf.default/config.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index 35d2c75..40e3dc3 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -6,6 +6,10 @@
<theme>pfsense_ng</theme>
<sysctl>
<item>
+ <descr>Increase UFS read-ahead speeds to match current state of hard drivesand NCQ. More information here: http://ivoras.sharanet.org/blog/tree/2010-11-19.ufs-read-ahead.html</descr>
+ <tunable>vfs.read_max</tunable>
+ <value>default</value>
+ <item>
<descr>Set the ephemeral port range to be lower.</descr>
<tunable>net.inet.ip.portrange.first</tunable>
<value>default</value>
OpenPOWER on IntegriCloud