Re: [squid-users] Request Disk Hit Ratios

From: Henrik Nordstrom <>
Date: Wed, 9 Jan 2002 19:49:03 +0100

Hit Ratios: Total hit ratios for both disk and memory

Memory Hit Ratios: Percentage of the Hit Ratio that was of type TCP_MEM_HIT
Disk Hit Ratios: Percentage of the Hit Ratio that was of type TCP_HIT

Now this is obviously incomplete and is why Memory+Disk < 100% in the
statistics. This should be fixed if someone cares. Patches are most
welcome. The culpit is clientUpdateCounters() in client_side.c. See the
Squid FAQ for a complete list of all log tags and their meanings. The
function isTcpHit() is also a good guidance to the one fixing this up..

Byte & Request is what they say. One type is counted in bytes, the other
in requests.

Henrik Nordström
Squid Developer
MARA Systems AB, Sweden

On Wednesday 09 January 2002 12.41, Pophal, Michael wrote:
> Hi all,
> what is the differenc between
> Request Hit Ratios -- Request Disk Hit Ratios
> Byte Hit Ratios -- Request Disk Hit Ratios
> from cachemgr:
> Cache information for squid:
> Request Hit Ratios:5min: 19.9%, 60min: 21.7%
> Byte Hit Ratios:5min: 16.2%, 60min: 15.7%
> Request Memory Hit Ratios:5min: 0.0%, 60min: 0.0%
> Request Disk Hit Ratios:5min: 52.4%, 60min: 47.5%
> Thanks for your help
> Regards Michael

MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Wed Jan 09 2002 - 11:49:22 MST

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