Re: [squid-users] Bandwidth savings?

2007-11-02 Thread Beavis
nick,

   you can always try to do a test without squid and compare your
graphs generated by cacti. (with and without squid). this is quite
common and always raises management's eyebrows but .. i guess it's
part of the Layer 9 (political layer) jk!.


cheers,
-pf

On 11/2/07, Nick Duda [EMAIL PROTECTED] wrote:
 What is a good utility to determine how much bandwidth in bits/sec or mb
 is being saved using squid. I'm using the templates for squid in Cacti
 and its showing some numbers that are showing a good saving and
 management is having a hard time believing it.




RE: [squid-users] Bandwidth savings?

2007-11-02 Thread Nick Duda
Funny you bring that upbecause we did that unintensional some time
back...

Basically, we have 4 T1's in a brach office, bonded as a multilink
(6mb). Based on this one office bandwidth going out is on average 4.5mb
used with Squid in place. One day we had to make some changes and
stopped serving from the cache...we flatlined at 6mb and the office came
to a scretching halt.

It was at that point I said, hey I can tell you that the proxy is saving
you at a min. 1.5mb of bandwidth LOL. I then went with the cacti
templates and I get on average 4-5mb saved, some days up to 8mb! 

The other reader recommended Calamaris which has some nice
reportinginstalling now.

 

-Original Message-
From: Beavis [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 02, 2007 1:00 PM
To: squid-users@squid-cache.org
Subject: Re: [squid-users] Bandwidth savings?

nick,

   you can always try to do a test without squid and compare your
graphs generated by cacti. (with and without squid). this is quite
common and always raises management's eyebrows but .. i guess it's
part of the Layer 9 (political layer) jk!.


cheers,
-pf

On 11/2/07, Nick Duda [EMAIL PROTECTED] wrote:
 What is a good utility to determine how much bandwidth in bits/sec or
mb
 is being saved using squid. I'm using the templates for squid in Cacti
 and its showing some numbers that are showing a good saving and
 management is having a hard time believing it.




Re: [squid-users] Bandwidth savings?

2007-11-02 Thread Adrian Chadd
On Fri, Nov 02, 2007, Nick Duda wrote:
 What is a good utility to determine how much bandwidth in bits/sec or mb
 is being saved using squid. I'm using the templates for squid in Cacti
 and its showing some numbers that are showing a good saving and
 management is having a hard time believing it.

Calamaris, maybe?



Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level bandwidth-capped VPSes available in WA -


[squid-users] Bandwidth savings?

2007-11-02 Thread Nick Duda
What is a good utility to determine how much bandwidth in bits/sec or mb
is being saved using squid. I'm using the templates for squid in Cacti
and its showing some numbers that are showing a good saving and
management is having a hard time believing it.



Re: [squid-users] Bandwidth savings?

2007-11-02 Thread Slacker
Nick Duda, on 11/02/2007 10:24 PM [GMT+500], wrote :
 Funny you bring that upbecause we did that unintensional some time
 back...

 Basically, we have 4 T1's in a brach office, bonded as a multilink
 (6mb). Based on this one office bandwidth going out is on average 4.5mb
 used with Squid in place. One day we had to make some changes and
 stopped serving from the cache...we flatlined at 6mb and the office came
 to a scretching halt.

 It was at that point I said, hey I can tell you that the proxy is saving
 you at a min. 1.5mb of bandwidth LOL. I then went with the cacti
 templates and I get on average 4-5mb saved, some days up to 8mb! 
   

Also look into 'vnstat' a very nice console application is a network
traffic monitor for Linux that keeps a log of daily network traffic for
the selected interface(s)

http://humdi.net/vnstat/

Regards


[squid-users] Bandwidth Savings

2006-05-10 Thread Odhiambo WASHINGTON
Salut!

Maybe this is a FAQ: How do I calculate/enumerate the bandwidth savings
as a result of using a caching proxy (Squid in this case)?

I'd like to come up with a report on the savings that can show how Squid
is making the browsing experience better.

Thanks in advance.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-- Benjamin Franklin, 1759


Re: [squid-users] Bandwidth Savings

2006-05-10 Thread Anton Glinkov
Hello,

If your squid is on a separate machine (not used for anything else but web
caching) and has only one network interface (to users and to internet),
you can monitor the outgoing and incoming bandwidth of the the device. The
difference between them is the bandwidth saved by squid. I do that by
drawing a rrd graph. Similar graph can be made if you have two interfaces
(one to users, other to internet - users outgoing bw minus internet
incoming bw), but those must be used only by squid.

I hope this helps.

 Salut!

 Maybe this is a FAQ: How do I calculate/enumerate the bandwidth savings
 as a result of using a caching proxy (Squid in this case)?

 I'd like to come up with a report on the savings that can show how Squid
 is making the browsing experience better.

 Thanks in advance.


-- 
Anton Glinkov
network administrator




Re: [squid-users] Bandwidth Savings

2006-05-10 Thread Chris Robertson

Odhiambo WASHINGTON wrote:


Salut!

Maybe this is a FAQ: How do I calculate/enumerate the bandwidth savings
as a result of using a caching proxy (Squid in this case)?

I'd like to come up with a report on the savings that can show how Squid
is making the browsing experience better.

Thanks in advance.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
   |\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
  |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
 '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
-- Benjamin Franklin, 1759
 

Scalar (http://scalar.risk.az/) gives this information, in a text format 
suitable for emailing. Here's an extract:


~~~ Analysis Headlines 



 Log Start Time [09-05-2006 01:02:38]
   Log End Time [10-05-2006 01:01:58]
 Lines Analyzed 1.107M

Unique Clients: 1461

In Traffic:   14.257 GB
   Out Traffic:   16.298 GB
 
 Saved Traffic:2.040 GB   12.52 %

Calamaris looks like it fits the bill as well 
(http://cord.de/tools/squid/calamaris/calamaris-2.html#16). Calamaris v3 
beta looks like it's even better 
(http://cord.de/tools/squid/calamaris/calamaris-3/#0).


If you don't mind a little math, you can get instant bandwidth saving 
reports using squidclient, and the utilization menu option (squidclient 
cache_object://localhost/utilization).  Just subtract 
server.http.kbytes_in from client_http.kbytes_out, and you have your 
current bandwidth savings.


client_http.kbytes_out = 748.875717/sec
server.http.kbytes_in = 590.903991/sec
Savings of  ~158.0 kbytes/sec on replies

client_http.kbytes_in = 74.455909/sec
server.http.kbytes_out = 62.886027/sec
Savings of  ~11.6 kbytes/sec on requests

Chris