aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid_cache.xml
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-08-11 20:53:46 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-08-11 20:53:46 +0000
commit51121fbed4e4eb00e06c7abc62988abe4068f159 (patch)
treef9f42a4ef534be8f3f17440ff8c1d3920e2137b8 /packages/squid/squid_cache.xml
parent3ebbf29b8cf7201a445d4b9108efdff71ae63595 (diff)
downloadpfsense-packages-51121fbed4e4eb00e06c7abc62988abe4068f159.tar.gz
pfsense-packages-51121fbed4e4eb00e06c7abc62988abe4068f159.tar.bz2
pfsense-packages-51121fbed4e4eb00e06c7abc62988abe4068f159.zip
squid: introduce low- and hugi-water-marks for better cache tuning
Diffstat (limited to 'packages/squid/squid_cache.xml')
-rw-r--r--packages/squid/squid_cache.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/squid/squid_cache.xml b/packages/squid/squid_cache.xml
index 861f96b8..6f6c0388 100644
--- a/packages/squid/squid_cache.xml
+++ b/packages/squid/squid_cache.xml
@@ -165,6 +165,20 @@
</options>
</field>
<field>
+ <fielddescr>Low-water-mark in %</fielddescr>
+ <fieldname>cache_swap_low</fieldname>
+ <description>Cache replacement begins when the swap usage is above the low-low-water mark and attempts to maintain utilisation near the low-water-mark.</description>
+ <type>input</type>
+ <default_value>90</default_value>
+ </field>
+ <field>
+ <fielddescr>High-water-mark in %</fielddescr>
+ <fieldname>cache_swap_high</fieldname>
+ <description>As swap utilisation gets close to the high-water-mark object eviction becomes more aggressive.</description>
+ <type>input</type>
+ <default_value>95</default_value>
+ </field>
+ <field>
<fielddescr>Do not cache</fielddescr>
<fieldname>donotcache</fieldname>
<description>Enter each domain or IP address on a new line that should never be cached.</description>