Re: assess Squid

From: Michael Samuel <[email protected]>
Date: Fri, 13 Feb 1998 10:21:24 +1100 (EST)

On Thu, 12 Feb 1998, Yee Man Chan wrote:

> Date: Thu, 12 Feb 1998 18:23:33 -0500 (EST)
> From: Yee Man Chan <ymc@eecs.umich.edu>
> To: squid-users@nlanr.net
> Subject: assess Squid
> Resent-Date: Thu, 12 Feb 1998 15:26:24 -0800 (PST)
> Resent-From: squid-users@nlanr.net
>
> I want to perform some performance analysis to investigate how different
> replacement policy affect the performance of Squid. I appreciate any
> assistance to the following questions:
>
> 1. How to adjust the size of the Squid cache?

cache_swap in your squid.conf

>
> 2. Do you know any nice software to analyze the Squid log files? I am in
> particularly like those counts hits, miss, negative hits and the files get
> kicked out.

There is some great software out there, but this is what I use:

#!/bin/sh
echo "Hits: `grep TCP_HIT /usr/local/squid/logs/access.log | wc -l`"
echo "Siblings Hits: `grep SIBLING_HIT /usr/local/squid/logs/access.log \
| wc -l`"
# You get the picture

But, if you have a good read through http://squid.nlanr.net/Squid/ you
will see lots of them around, that count bytes etc.

>
> Thanks for attention.
> Yee Man Chan
>
>

Michael Samuel,

Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail: <michael@surfnetcity.com.au>
WWW: http://www.surfnetcity.com.au/~michael/
Received on Thu Feb 12 1998 - 16:09:53 MST

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