Re: "Hit Rate" calculation....

From: Oskar Pearson <oskar@dont-contact.us>
Date: Wed, 7 May 1997 09:44:41 +0200

Ross Wheeler writes:
> Morning all,
> I've just grepped the 1.1.9 docs and can't find the "hit rate"
> calculation mentioned. I've run some monitors on the performance of my
> squid (total bytes *to* the server from other servers port 80, total
> bytes sent *from* our server to our subscribers from port 3128) and have
> significant variance from the figure reported by squid. (Granted, this is
> only over 24 hours). Squid is reporting 44% hit on http but actual bytes
> from the server are 53% more than bytes to the server over the same time.
>
> Can someone please indicate HOW the "Hit Rate" is calculated? Is it
> number of BYTES, number of HITS or something else?
There are scripts for this at
http://squid.nlanr.net/Squid/Scripts/

They essentially run through your entire log file and calculate the number
of hits, the number of bytes, the number of ICP requests and so on.

They can take a while to run though.
Received on Wed May 07 1997 - 00:45:42 MDT

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