aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-08-20 20:14:27 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-08-20 20:14:27 +0000
commit1f46c58b58e5a840a5d55d325fb7d95d32353e12 (patch)
tree6cb4b69a6dce83c65f8f74edc4428e8bde082bf8 /packages/squid
parent2dc22b1df84e77b7967dd63666d0898a9b43607e (diff)
downloadpfsense-packages-1f46c58b58e5a840a5d55d325fb7d95d32353e12.tar.gz
pfsense-packages-1f46c58b58e5a840a5d55d325fb7d95d32353e12.tar.bz2
pfsense-packages-1f46c58b58e5a840a5d55d325fb7d95d32353e12.zip
fixed policy bug mentioned in http://forum.pfsense.org/index.php/topic,11008.0.html
Diffstat (limited to 'packages/squid')
-rw-r--r--packages/squid/squid_cache.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid/squid_cache.xml b/packages/squid/squid_cache.xml
index 6f6c0388..fb0b956a 100644
--- a/packages/squid/squid_cache.xml
+++ b/packages/squid/squid_cache.xml
@@ -140,7 +140,7 @@
</field>
<field>
<fielddescr>Memory replacement policy</fielddescr>
- <fieldname>memory_replacement</fieldname>
+ <fieldname>memory_replacement_policy</fieldname>
<description>The memory replacement policy determines which objects are purged from memory when space is needed. The default policy for memory replacement is GDSF. &lt;p&gt; &lt;b&gt; LRU: Last Recently Used Policy &lt;/b&gt; - The LRU policies keep recently referenced objects. i.e., it replaces the object that has not been accessed for the longest time. &lt;p&gt; &lt;b&gt; Heap GDSF: Greedy-Dual Size Frequency &lt;/b&gt; - The Heap GDSF policy optimizes object-hit rate by keeping smaller, popular objects in cache. It achieves a lower byte hit rate than LFUDA though, since it evicts larger (possibly popular) objects. &lt;p&gt; &lt;b&gt; Heap LFUDA: Least Frequently Used with Dynamic Aging &lt;/b&gt; - The Heap LFUDA policy keeps popular objects in cache regardless of their size and thus optimizes byte hit rate at the expense of hit rate since one large, popular object will prevent many smaller, slightly less popular objects from being cached. &lt;p&gt; &lt;b&gt; Heap LRU: Last Recently Used &lt;/b&gt; - Works like LRU, but uses a heap instead. &lt;p&gt; Note: If using the LFUDA replacement policy, the value of Maximum Object Size should be increased above its default of 12KB to maximize the potential byte hit rate improvement of LFUDA.</description>
<type>select</type>
<default_value>heap GDSF</default_value>
@@ -153,7 +153,7 @@
</field>
<field>
<fielddescr>Cache replacement policy</fielddescr>
- <fieldname>cache_replacement</fieldname>
+ <fieldname>cache_replacement_policy</fieldname>
<description>The cache replacement policy decides which objects will remain in cache and which objects are replaced to create space for the new objects. The default policy for cache replacement is LFUDA. Please see the type descriptions specified in the memory replacement policy for additional detail.</description>
<type>select</type>
<default_value>heap LFUDA</default_value>