Re: [squid-users] LRU Statistics

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 07 Jul 2008 16:52:24 +1200

Roy M. wrote:
> I have the following cache stats:
>
> Memory hits as % of hit requests: 5min: 51.7%
> Disk hits as % of hit requests: 5min: 31.8%
> Storage Mem capacity: 100.0% used, 0.0% free
>
>
> i.e.,
>
> cache miss in mem = 100 - 51.7 = 48.3%
> overal hit % = 51.7 + 31.8 = 83.5%
>

Note the text "as % of hit requests"

So...

cache hit in mem = 51.7%
cache hit in disk = 31.8%
cache hit in other (peers? refresh?) = 100 - 51.7 - 31.8 = 16.5%

miss information completely unknown.

>
>
> 1. Since memory is now 100% used, how do I know if there is a cache
> miss in mem 48.3%,
> how many % of them will trigger a LRU in memory cache?

Good question.

>
> 2. Similarly, if my disk is 100% used, how do I know the LRU statistics
>

Disk won't get 100% used unless you make your cache too big for the
drive, or screw up cache gargbage collection with the cleanup settings.

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7
Received on Mon Jul 07 2008 - 04:52:27 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 07 2008 - 12:00:04 MDT