diff options
author | Martin Fuchs <mfuchs@pfsense.org> | 2008-08-20 20:14:27 +0000 |
---|---|---|
committer | Martin Fuchs <mfuchs@pfsense.org> | 2008-08-20 20:14:27 +0000 |
commit | 1f46c58b58e5a840a5d55d325fb7d95d32353e12 (patch) | |
tree | 6cb4b69a6dce83c65f8f74edc4428e8bde082bf8 /packages/squid | |
parent | 2dc22b1df84e77b7967dd63666d0898a9b43607e (diff) | |
download | pfsense-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.xml | 4 |
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. <p> <b> LRU: Last Recently Used Policy </b> - The LRU policies keep recently referenced objects. i.e., it replaces the object that has not been accessed for the longest time. <p> <b> Heap GDSF: Greedy-Dual Size Frequency </b> - 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. <p> <b> Heap LFUDA: Least Frequently Used with Dynamic Aging </b> - 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. <p> <b> Heap LRU: Last Recently Used </b> - Works like LRU, but uses a heap instead. <p> 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> |