From e23d1eb74338b987ac7c37ae72732ad73928a40d Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 14 Oct 2010 08:59:33 -0400 Subject: 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. --- config/squid/squid.inc | 2 +- config/squid/squid_cache.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config') 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 @@ harddisk_cache_system 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. select - aufs + ufs -- cgit v1.2.3