On Mon, May 13, 2002 at 10:42:44AM +0100, Breathnach, Proinnsias (Dublin) wrote:
> You could, of course, count the cache hits, and multiply their size, by
> their frequency etc ... but that doesn't really give an answer, as there's a
> human factor ... bandwidth usage may well have _increased_ because you're
> using squid (or any other cache), people will use the internet more often if
> it's responsive, when it's not, they go back to doing things the old way !
I think what I want must be eminently measurable. The total bytes served
from squid is the sum of the sizes all the hits + all the misses. If there'd
been no squid, every cache hit would have resulted in a fetch from the
internet, so the bandwidth gained is =
cache item size X number of hits for that item
> The only real way is to turn off the cache for a week, keep stats, turn it
> on and keep more stats ... and even that won't answer you !
No, that of course won't answer me because I'd not be comparing like with like.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!