Re: Checking functionality of cache digest

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Wed, 18 Nov 1998 09:05:28 -0700 (MST)

On Wed, 18 Nov 1998, Henny Bekker wrote:

> Can you tell me how to monitor the functionallity of sibling/parent-
> hosts which has the cache digest enabled???

What you have to do is to get two log files (peer's and yours). Then you
count the number of digest requests sent to your peer (corresponding
CACHE_DIGEST_HIT entries in your access log) and the number of HITs/MISSes
generated on your peer for corresponding entries (TCP_HIT and alike in your
peer access log).

If you do not use ICP then you can just count entries in two logs without
matching them. With ICP, you have to separate HITs and MISSes due to ICP from
those caused by digests.

Please let me know if I was not clear. Also, other people may have a better
way of doing this.

> guess hit miss total
> # % # % # %
> true 0 -1.00 0 -1.00 0 -1.00
> false 0 -1.00 0 -1.00 0 -1.00
> all 0 -1.00 0 -1.00 0 -1.00

These -1s are because we no longer verify digest HIT lookups with ICP. Thus,
we cannot count percentages and such. "-1" means "no information is
available". (The output is fixed in 2.2).
 
We will have a detailed digest FAQ ready soon.

Alex.
Received on Wed Nov 18 1998 - 09:20:32 MST

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