[squid-users] traffic out is less than traffic in with squid 3.4.3 , is that not good ?

Ahmed Allzaeem ahmed.zaeem at netstream.ps
Sun Nov 2 16:09:43 UTC 2014


Amos this is a sample from iptraf shot :

IPTraf
+ Statistics for eth0 ---------------------------------------------------------------------------------------------------------------+
|                                                                                                                                    |
|               Total      Total    Incoming   Incoming    Outgoing   Outgoing                                                       |
|             Packets      Bytes     Packets      Bytes     Packets      Bytes                                                       |
| Total:      3442326      3523M     2054295      1765M     1388031      1757M                                                       |
| IPv4:       3442326      3473M     2054295      1735M     1388031      1738M                                                       |
| IPv6:             0          0           0          0           0          0                                                       |
| TCP:        3431872      3471M     2049057      1734M     1382815      1737M                                                       |
| UDP:          10436    1455945        5238    1034448        5198     421497                                                       |
| ICMP:            18       2378           0          0          18       2378                                                       |
| Other IP:         0          0           0          0           0          0                                                       |
| Non-IP:           0          0           0          0           0          0                                                       |
|                                                                                                                                    |
|                                                                                                                                    |
| Total rates:     926677.1 kbits/sec        Broadcast packets:            0                                                         |
|                  112213.8 packets/sec      Broadcast bytes:              0                                                         |
|                                                                                                                                    |
| Incoming rates:  465102.4 kbits/sec                                                                                                |
|                   67284.0 packets/sec                                                                                              |
|                                            IP checksum errors:           0                                                         |
| Outgoing rates:  462996.9 kbits/sec                                                                                                |
|                   44929.8 packets/sec                                                                                              |
|                                                                                                                                    |
|                                                                                                                                    |
|                                                     

-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Ahmed Allzaeem
Sent: Sunday, November 2, 2014 7:22 AM
To: 'Amos Jeffries'
Cc: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] traffic out is less than traffic in with squid 3.4.3 , is that not good ?

Hi Amos ,
Im wondering wt should I do to investigate this issue ???

The out is less than "IN" traffic ???!!!!

When i was using aufs squid without smp , the "out" was always greater than the "in"

For now , im using smp with memory caching  I mean no hardisks with rock or aufs has been configured.


Can you help me wt should I do ? or how to calculate wt am saving in Mbps right now ??



regards

-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Amos Jeffries
Sent: Sunday, November 2, 2014 6:17 AM
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] traffic out is less than traffic in with squid 3.4.3 , is that not good ?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/11/2014 12:56 a.m., Ahmed Allzaeem wrote:
> Hi all ,
> 
> 
> 
> Sofar im using squid 3.4.3 with only ram caching ,..no cache_dir 
> configured
> 
> But...
> 
> traffic out is less than traffic in with squid 3.4.3 , is that not 
> good ?
> 
> 
> 
> from cachemanager it says there is hit ratio and I can see MEM_HIT in 
> access.log
> 
> 
> 
> but wondering why the out is less than the in  traffic???

The "out" which is largest is the traffic going to clients. That is fine.

The "in" from servers being larger despite a 110 req/sec HIT-rate is a bit worrying. Tuning depends on what your traffic is though.


> 
> Here is also cachemanager for 5 minutes for my squid
> 
> 
> 
> sample_start_time = 1414928723.599041 (Sun, 02 Nov 2014 11:45:23
> GMT)
> 
> sample_end_time = 1414929023.695426 (Sun, 02 Nov 2014 11:50:23
> GMT)
> 
> client_http.requests = 676.277174/sec
> 
> client_http.hits = 110.762874/sec
> 
> client_http.errors = 14.836604/sec
> 
> client_http.kbytes_in = 673.863808/sec
> 
> client_http.kbytes_out = 41258.537372/sec
> 
> client_http.all_median_svc_time = 0.152583 seconds
> 
> client_http.miss_median_svc_time = 0.200171 seconds
> 
> client_http.nm_median_svc_time = 0.000000 seconds
> 
> client_http.nh_median_svc_time = 0.059506 seconds
> 
> client_http.hit_median_svc_time = 0.000000 seconds
> 
> server.all.requests = 578.707579/sec
> 
> server.all.errors = 0.000000/sec
> 
> server.all.kbytes_in = 41550.242682/sec
> 
> server.all.kbytes_out = 665.830506/sec
> 
> server.http.requests = 578.707579/sec
> 
> server.http.errors = 0.000000/sec
> 
> server.http.kbytes_in = 41550.242682/sec
> 
> server.http.kbytes_out = 665.830506/sec


Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUVjzDAAoJELJo5wb/XPRjp3EH/inz+JhTi/Gj2h1HAkU5R9eu
DX3fodA6dCZ04XN5C1F03OyxCMGvSiLjf54V3IuZAaweeHd1jjauMDsu5QJvVZyF
bnBzkhMjFytfAsf8Q4VerF4hrah+bjQ19Ct7aZM3Es/q1e8KWU061MwpQ1p+6NQV
NjyeKma/55Osg6criS7ZF8/5PuQstIOKnkS5nEOMKX+gmzu0rs0mveYOJTvNttHe
h9JaXbql0zS6wJd1j6xwh4l+Ip7ifBdwg6VlN8lkc5n1oy5h4i48qasnM9yYzOM1
LCW2iL5f7dkTWcsaxiIn+c2RA7pI/vvs7+0Bjy3W09mH0hHttTetWkTsfz4v3JQ=
=C8PX
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list