diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-29 17:29:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-29 17:29:02 +0000 |
commit | cb86f22499558f68b56e6d01555c6b6aca07ee79 (patch) | |
tree | e01efd40a362b4b8b5fd2909b4894937a0fd952b | |
parent | 1625b7f8f93489329b4c1366598b9e4adc57befc (diff) | |
download | pfsense-packages-cb86f22499558f68b56e6d01555c6b6aca07ee79.tar.gz pfsense-packages-cb86f22499558f68b56e6d01555c6b6aca07ee79.tar.bz2 pfsense-packages-cb86f22499558f68b56e6d01555c6b6aca07ee79.zip |
Fix typos.
Patch-submitted-by: Michael Schuh <michael.schuh@gmail.com>
-rw-r--r-- | packages/squid.inc | 2 | ||||
-rw-r--r-- | packages/squid_cache.xml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index ac4ebf55..cd6198e6 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -356,7 +356,7 @@ function squid_resync_cache() { $max_objsize = ($settings['maximum_object_size'] ? $settings['maximum_object_size'] : 4); $min_objsize = ($settings['minimum_object_size'] ? $settings['minimum_object_size'] : 0); $cache_policy = ($settings['cache_replacement_policy'] ? $settings['cache_replacement_policy'] : 'heap LFUDA'); - $memory_policy = ($settings['memory_replacement_policy'] ? $settings['memory_replacement_policy'] : 'heap GSDF'); + $memory_policy = ($settings['memory_replacement_policy'] ? $settings['memory_replacement_policy'] : 'heap GDSF'); $offline_mode = ($settings['enable_offline'] == 'on' ? 'on' : 'off'); $conf = <<<EOD diff --git a/packages/squid_cache.xml b/packages/squid_cache.xml index 835d8c45..6e33d294 100644 --- a/packages/squid_cache.xml +++ b/packages/squid_cache.xml @@ -86,13 +86,13 @@ <field> <fielddescr>Memory replacement policy</fielddescr> <fieldname>memory_replacement</fieldname> - <description>The memory replacement policy determines which objects are purged from memory when space is needed. The default policy for memory replacement is GSDF. <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 GSDF: Greedy-Dual Size Frequency </b> - The Heap GSDF 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 4096 KB to maximuze the potential byte hit rate improvement of LFUDA.</description> - <default_value>heap GSDF</default_value> + <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 4096 KB to maximuze the potential byte hit rate improvement of LFUDA.</description> + <default_value>heap GDSF</default_value> <type>select</type> <options> <option><name>LRU</name><value>lru</value></option> <option><name>Heap LFUDA</name><value>heap LFUDA</value></option> - <option><name>Heap GDSF</name><value>heap GSDF</value></option> + <option><name>Heap GDSF</name><value>heap GDSF</value></option> <option><name>Heap LRU</name><value>heap LRU</value></option> </options> </field> @@ -105,7 +105,7 @@ <options> <option><name>LRU</name><value>lru</value></option> <option><name>Heap LFUDA</name><value>heap LFUDA</value></option> - <option><name>Heap GDSF</name><value>heap GSDF</value></option> + <option><name>Heap GDSF</name><value>heap GDSF</value></option> <option><name>Heap LRU</name><value>heap LRU</value></option> </options> </field> |