diff options
author | jim-p <jimp@pfsense.org> | 2010-10-14 08:59:33 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-14 08:59:33 -0400 |
commit | e23d1eb74338b987ac7c37ae72732ad73928a40d (patch) | |
tree | d44a9dca38cb81abd8aabee6b6b2a087693a5b7e | |
parent | 6df06d5f64edb6a5e3781157acdbc7a78e3c5389 (diff) | |
download | pfsense-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.
-rw-r--r-- | config/squid/squid.inc | 2 | ||||
-rw-r--r-- | config/squid/squid_cache.xml | 2 |
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. <p> <b> ufs </b> is the old well-known Squid storage format that has always been there. <p> <b> aufs </b> uses POSIX-threads to avoid blocking the main Squid process on disk-I/O. (Formerly known as async-io.) <p> <b> diskd </b> uses a separate process to avoid blocking the main Squid process on disk-I/O. <p> <b> null </b> 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> |