We have a long history of questions and bugs mentioning negative
numbers in the byte hit ratio.
I've always thought it was a bug we had not tracked down, but the FAQ
says it is correct.
http://wiki.squid-cache.org/SquidFaq/InnerWorkings#Why_do_I_see_negative_byte_hit_ratio.3F
I've discussed this with a professional statistician I work with and
she agrees the algorithm is not calculating hit ratio as per our
definition of what a HIT is. What is does seem to be calculating is a
net traffic GAIN ratio.
What I propose is make the numbers reported as HIT ratios use the same
algorithm. The current request ratio one. And to add alongside this a
record for Gain/Loss Ratio as output by this byte calculation.
Amos
Received on Tue Feb 07 2012 - 01:01:11 MST
This archive was generated by hypermail 2.2.0 : Tue Feb 07 2012 - 12:00:10 MST