Re: LRU Rate

From: Eric Stern <estern@dont-contact.us>
Date: Wed, 29 Apr 1998 11:57:33 -0400 (EDT)

On Wed, 29 Apr 1998, kendall wrote:

> On Wed, 29 Apr 1998, Dancer wrote:
>
> > > How can I know an estimate rate of LRU replacement, that's
> > > actually occurring on my cache?
> >
> > Use the cache-manager cgi. The cache-information page will give you the
> > current, exact LRU value.
>
> once you have that value, how should you calculate the _rate_ at which
> squid is removing old objects, i.e. in Mb replaced per day?

Well, lets see. Assuming a cache size of n megabytes, a hit rate of m%,
and an LRU of x, I'd say your megs replaced per day would be about
MRPD=(n * ((100 - m)/100)) / x

So, 1000meg cache, 40% hit rate, LRU of 3 days is..
(1000 * ((100 - 40)/100)) / 3 = 200megs per day

Only approximate of course, since hit rate and LRU bounce around a lot.
Thats just off the top of my head. Haven't serious researched it or
anything.

/-----------------------------------------------------------------------/
/ Eric Stern - PacketStorm Technologies - (519) 837-0824 /
/ http://www.packetstorm.on.ca /
/ WebSpeed - a transparent web caching server - available now! /
/-----------------------------------------------------------------------/
Received on Wed Apr 29 1998 - 09:22:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:58 MST