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

From: zulkarnain <sizulku@dont-contact.us>
Date: Wed, 9 Jul 2003 22:32:02 -0700 (PDT)

--- Henrik Nordstrom <hno@squid-cache.org> wrote:
> On Thursday 10 July 2003 06.36, zulkarnain wrote:
> > Hi,
> >
> > I've a big cache_dir (136GB) which is currently
> used
> > 122GB (89%). Each day the increasement of the
> objects
> > in cache around 1-2GB. I would like to know the
> best
> > replacement policy for this cache dir. Any help
> will
> > be great.
>
> Does not matter much for a cache of this length
> (size / turnover). I
> would use the standard lru algorithm as it is
> slighly more efficient
> in terms of CPU and memory usage than the heap based
> policies.
>
> The policy mostly matters on small caches. On larger
> caches they all
> behave more or less the same. See the paper
> references in
> squid.conf.default.
>

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 ?

best regards,
sizulku

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
Received on Wed Jul 09 2003 - 23:32:06 MDT

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