Re: [squid-users] Best replacement policy for big cache dir

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 10 Jul 2003 07:50:18 +0200

On Thursday 10 July 2003 07.32, zulkarnain wrote:

> what happen to cache dir if I still use the standard
> lru algorithm and its reach 100% of disk space? will
> it automatically delete/replace objects when disk
> space is needed? or I've to delete it manually? and
> what bennefit of heap LRU ?

This is the sole purpose of the replacement policy: to determine which
old objects to automatically delete to make room for more interesting
new objects when you cache is full.

See the research paper mentioned for a detailed description of the
purpose and effect of the "heap LRU" algorithm. Summary: The "heap
LRU" algorithm exists as a reference to compare the heap
implementation with the implementation of the standard squid lru
algorithm. It provides no benefits (only drawbacks) compared to the
standard Squid lru algorithm.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Jul 09 2003 - 23:50:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:54 MST