Re: Hit ratio calculation?

From: Alex Rousskov <rousskov@measurement-factory.com>
Date: Fri Dec 08 2006 - 07:49:30 MST

On Tue, 2006-12-05 at 15:09 +0530, Jegadeesh wrote:

> We ran the polygraph test with squid. After complete the test we have
> generated the report using server logs and client logs with the
> following command.
>
> /usr/local/polygraph/bin/reporter --plotter /usr/local/bin/gnuplot
> --label "samplereport" *.log
>
>
> The report says 100% hit ratio. My questions are below,
>
> 1. How does polygraph calculate the hit ratio?

There are several ways to calculate hit ratio. The reporter should
explain them when producing Hit Ratio tables. Do you have those tables
referenced from the Details page of the report?

> 2. Is there any way to change the hit ratio?
> 3. How to configure polygraph if we need 80 % hit ratio?

You may want to start by reading
http://www.web-polygraph.org/docs/reference/models/traffic.html

which refers to configuration knobs and factors affecting hit ratio.

100% hit ratio usually means some kind of abnormal conditions. For
example, during the measurement phase, the proxy was not able to reach
origin servers and could only serve hits.

HTH,

Alex.
Received on Mon Dec 11 07:57:10 2006

This archive was generated by hypermail 2.1.8 : Mon Dec 11 2006 - 12:00:06 MST