Re: [squid-users] calculating how much bandwidth is saved?

From: Mohsin Khan <aaghaz00@dont-contact.us>
Date: Tue, 18 Nov 2003 02:57:40 -0800 (PST)

well ...in short more hits you get more you save
bandwidth, easy way to test is try to brows with out
squid for 15 mins, than with squid, moniter your
graphs, and feel the differnce. Or use cachemgr, or
any other tool which can tell you number of byte hits,
ummm .. i use to use on calamris, if i am speeling it
right, simple but effective.

--- Antony Stone <Antony@Soft-Solutions.co.uk> wrote:
> On Tuesday 18 November 2003 9:37 am, Payal Rathod
> wrote:
>
> > Hi,
> > A friend of mine who own a cybercafe and has squid
> setup as a caching
> > proxy. She is charged per Mb of download. Is it
> possible to know how
> > much bandwidth is saved due to squid? If yes, how
> do I go about it?
>
> The squid log file tells you what size the response
> to each request was, and
> whether it was served from the cache or from the
> real server.
>
> Processing the logfile to pick out the number of
> bytes for HITs in a given
> time period should give you a good indication of the
> savings due to squid;
> comparing this to the number of bytes for MISSes in
> the same time will give
> you a percentage.
>
> Remember that there will be a small overhead you can
> never eliminate due to
> DNS lookups, and HEAD requests etc to see if a file
> is newer than cached.
>
> Regards,
>
> Antony.
>
> --
>
> There are two possible outcomes.
>
> If the result confirms the hypothesis, then you've
> made a measurement.
> If the result is contrary to the hypothesis, then
> you've made a discovery.
>
> - Enrico Fermi
>
> Please reply to the list;
>
> please don't CC me.

=====
Regards,
Mohsin Khan
CCNA ( Cisco Certified Network Associate 2.0 )

>>>Happy is the one who can smile<<<

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Received on Tue Nov 18 2003 - 03:57:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:21 MST