aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-14 08:59:33 -0400
committerjim-p <jimp@pfsense.org>2010-10-14 08:59:33 -0400
commite23d1eb74338b987ac7c37ae72732ad73928a40d (patch)
treed44a9dca38cb81abd8aabee6b6b2a087693a5b7e /config
parent6df06d5f64edb6a5e3781157acdbc7a78e3c5389 (diff)
downloadpfsense-packages-e23d1eb74338b987ac7c37ae72732ad73928a40d.tar.gz
pfsense-packages-e23d1eb74338b987ac7c37ae72732ad73928a40d.tar.bz2
pfsense-packages-e23d1eb74338b987ac7c37ae72732ad73928a40d.zip
Use ufs as the default cache file system, feedback on the forum suggests much greater performance by default, and if someone has a large enough cache that they need aufs, they can always switch later.
Diffstat (limited to 'config')
-rw-r--r--config/squid/squid.inc2
-rw-r--r--config/squid/squid_cache.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index b2955f99..98192253 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -718,7 +718,7 @@ function squid_resync_cache() {
if ($g['platform'] == "nanobsd") {
$disk_cache_system = 'null';
} else {
- $disk_cache_system = 'aufs';
+ $disk_cache_system = 'ufs';
}
} else {
$disk_cache_system = $settings['harddisk_cache_system'];
diff --git a/config/squid/squid_cache.xml b/config/squid/squid_cache.xml
index 8fb310cf..881f15b3 100644
--- a/config/squid/squid_cache.xml
+++ b/config/squid/squid_cache.xml
@@ -94,7 +94,7 @@
<fieldname>harddisk_cache_system</fieldname>
<description>This specifies the kind of storage system to use. &lt;p&gt; &lt;b&gt; ufs &lt;/b&gt; is the old well-known Squid storage format that has always been there. &lt;p&gt; &lt;b&gt; aufs &lt;/b&gt; uses POSIX-threads to avoid blocking the main Squid process on disk-I/O. (Formerly known as async-io.) &lt;p&gt; &lt;b&gt; diskd &lt;/b&gt; uses a separate process to avoid blocking the main Squid process on disk-I/O. &lt;p&gt; &lt;b&gt; null &lt;/b&gt; Does not use any storage. Ideal for Embedded/NanoBSD.</description>
<type>select</type>
- <default_value>aufs</default_value>
+ <default_value>ufs</default_value>
<options>
<option><name>ufs</name><value>ufs</value></option>
<option><name>aufs</name><value>aufs</value></option>