Re: [squid-users] squid using more bandwidth!!!

From: Sukhjit Singh <sukhjits@dont-contact.us>
Date: Wed, 25 Jun 2003 12:52:06 +0530

Dear Ahmad,

i have made the following changes
maximum_object_size 8192 KB
 maximum_object_size_in_memory 16 KB

and LFUDA i will do as soon as possible and let you know the results.
cache_replacement_policy heap LFUDA

   Regards

   Sukhjit Singh
   Network Administrator
   Emmsons Infotech Ltd.
   SCO 13-14-15, Sec 34A,
   Chandigarh-160 022
   (Ph): +91 172 606664
   Mobile 9815228132
   sukhjits@emmtel.com
   http://www.emmtel.com

----- Original Message -----
From: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>
To: "Sukhjit Singh" <sukhjits@emmtel.com>; "squid list"
<squid-users@squid-cache.org>
Sent: Wednesday, June 25, 2003 12:32 PM
Subject: Re: [squid-users] squid using more bandwidth!!!

> Dear Sukhjit,
>
> I will suggest better to use
>
> maximum_object_size 8192 KB
> maximum_object_size_in_memory 16 KB
> cache_replacement_policy heap LFUDA
>
> These settings can help you to save bandwidth.......... for heap LFUDA you
> will have to recompile your squid source again if you have not compiled
> squid with heap storing scheme yet...
>
> --
>
> Best Regs,
> Masood Ahmad Shah
> System Administrator
>
> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> | * * * * * * * * * * * * * * * * * * * * * * * *
> | Fibre Net (Pvt) Ltd. Lahore, Pakistan
> | Tel: +92-42-6677024
> | Mobile: +92-300-4277367
> | http://www.fibre.net.pk
> | * * * * * * * * * * * * * * * * * * * * * * * *
> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> Unix is very simple, but it takes a genius to understand the simplicity.
> (Dennis Ritchie)
> "All I want is a few minutes alone with the source code for the universe
and
> a quick recompile."
>
>
> ----- Original Message -----
> From: "Sukhjit Singh" <sukhjits@emmtel.com>
> To: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>; "squid list"
> <squid-users@squid-cache.org>; "Henrik Nordstrom" <hno@squid-cache.org>
> Sent: Wednesday, June 25, 2003 11:07 AM
> Subject: Re: [squid-users] squid using more bandwidth!!!
>
>
> Dear Ahmad,
> The following are the things required my you.
> i have this following configs in my squid.conf
>
> maximum_object_size 1024 KB
> maximum_object_size_in_memory 8 KB
> cache_replacement_policy lru
>
> i have 3 scsci drives 8GB each, and below is the disk free status
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sda2 4032064 2156128 1671112 57% /
> /dev/sda5 4087268 51256 3828388 2% /ACACHE
> /dev/sdb1 8741468 4194104 4103312 51% /BCACHE
> /dev/sdc1 8741468 4188100 4109316 51% /CCACHE
> /dev/sda1 100692 10666 84827 12% /boot
> none 256784 0 256784 0% /dev/shm
>
>
>
> i have 512Mb of memory, adn following is the output of the free -m
command.
> [root@CACHE root]# free -m
> total used free shared buffers cached
> Mem: 501 496 5 0 126 106
> -/+ buffers/cache: 262 238
> Swap: 515 4 511
>
>
> Hope the above things help you out in getting the solution of my prob, if
> anything else is required kindly let me know.
>
>
> Regards
>
> Sukhjit Singh
> Network Administrator
> Emmsons Infotech Ltd.
> SCO 13-14-15, Sec 34A,
> Chandigarh-160 022
> (Ph): +91 172 606664
> Mobile 9815228132
> sukhjits@emmtel.com
> http://www.emmtel.com
>
> ----- Original Message -----
> From: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>
> To: "Sukhjit Singh" <sukhjits@emmtel.com>; "squid list"
> <squid-users@squid-cache.org>; "Henrik Nordstrom" <hno@squid-cache.org>
> Sent: Wednesday, June 25, 2003 10:56 AM
> Subject: Re: [squid-users] squid using more bandwidth!!!
>
>
> > Sukhjit,
> >
> > You Byte Hit Ratios is too low. I will suggest better to keep eyes on
> > cachemanager current open requests and c there downloading
> files...........
> > that can be the problem. you are not getting too much load on your
cahce.
> > Can you let me know about your
> >
> > maximum_object_size XXX KB
> > maximum_object_size_in_memory XXX KB
> > cache_replacement_policy XXX
> >
> > Let me know again your cacheing space and memory?
> >
> >
> > --
> >
> > Best Regs,
> > Masood Ahmad Shah
> > System Administrator
> >
> > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> > | * * * * * * * * * * * * * * * * * * * * * * * *
> > | Fibre Net (Pvt) Ltd. Lahore, Pakistan
> > | Tel: +92-42-6677024
> > | Mobile: +92-300-4277367
> > | http://www.fibre.net.pk
> > | * * * * * * * * * * * * * * * * * * * * * * * *
> > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> > Unix is very simple, but it takes a genius to understand the simplicity.
> > (Dennis Ritchie)
> > "All I want is a few minutes alone with the source code for the universe
> and
> > a quick recompile."
> >
> >
> > ----- Original Message -----
> > From: "Sukhjit Singh" <sukhjits@emmtel.com>
> > To: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>; "squid list"
> > <squid-users@squid-cache.org>; "Henrik Nordstrom" <hno@squid-cache.org>
> > Sent: Wednesday, June 25, 2003 7:20 AM
> > Subject: Re: [squid-users] squid using more bandwidth!!!
> >
> >
> > > Dear Ahmad,
> > >
> > > i am using squid in an ISP invironment,
> > > The squid is getting the following number of requests according to
mrtg.
> > > Max HTTP requests 406.0 req/min Average HTTP requests 152.0
> > > req/min Current HTTP requests 32.0 req/min
> > >
> > >
> > > according to cachemgr
> > > Byte Hit Ratios: 5min: 12.1%, 60min: 10.6%
> > >
> > > according to mrtg the cache stats of # hits
> > > Max Hostname-to-Address Hits 129.2 k (25.8%) Average
> > > Hostname-to-Address Hits 39.3 k (7.9%) Current
Hostname-to-Address
> > Hits
> > > 96.1 k
> > >
> > >
> > > I will not be able to use cache without wccp there are some network
> > > limitations here.
> > >
> > >
> > >
> > >
> > >
> > > Regards
> > >
> > > Sukhjit Singh
> > > Network Administrator
> > > Emmsons Infotech Ltd.
> > > SCO 13-14-15, Sec 34A,
> > > Chandigarh-160 022
> > > (Ph): +91 172 606664
> > > Mobile 9815228132
> > > sukhjits@emmtel.com
> > > http://www.emmtel.com
> > >
> > > ----- Original Message -----
> > > From: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>
> > > To: "Sukhjit Singh" <sukhjits@emmtel.com>; "squid list"
> > > <squid-users@squid-cache.org>; "Henrik Nordstrom"
<hno@squid-cache.org>
> > > Sent: Tuesday, June 24, 2003 2:11 PM
> > > Subject: Re: [squid-users] squid using more bandwidth!!!
> > >
> > >
> > > > Sukhjit,
> > > >
> > > > I had told you before that, You can check in cachemgr or mrtg byte
hit
> > > > ratio, this is what you are saving in bandwidth. Respected Henrik,
> > already
> > > > have told you some tips to save a little bandwidth quick_abort_max
set
> > to
> > > 0
> > > > and also quick_abrot_min set to 0 KB. But I think it is not the
> problem.
> > > Can
> > > > you let us know in which enviornment you are using squid ISP or
> Software
> > > > house. What about request/sec..
> > > > onething more if you have single cache then no need to use wccp you
> can
> > > use
> > > > simple redirect (route map). no need to put extra load on router and
> > cache
> > > > for capsulating and deccaps packets.
> > > > Onething more you will have to put an ACL for your IPs. someone can
> use
> > > your
> > > > squid minor mistake :) can be..
> > > > Keep eyes on access.log and cache.log
> > > >
> > > > --
> > > >
> > > > Best Regs,
> > > > Masood Ahmad Shah
> > > > System Administrator
> > > >
> > > > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> > > > | * * * * * * * * * * * * * * * * * * * * * * * *
> > > > | Fibre Net (Pvt) Ltd. Lahore, Pakistan
> > > > | Tel: +92-42-6677024
> > > > | Mobile: +92-300-4277367
> > > > | http://www.fibre.net.pk
> > > > | * * * * * * * * * * * * * * * * * * * * * * * *
> > > > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> > > > Unix is very simple, but it takes a genius to understand the
> simplicity.
> > > > (Dennis Ritchie)
> > > > "All I want is a few minutes alone with the source code for the
> universe
> > > and
> > > > a quick recompile."
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Sukhjit Singh" <sukhjits@emmtel.com>
> > > > To: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>;
> > <hno@squid-cache.org>
> > > > Cc: <squid-users@squid-cache.org>
> > > > Sent: Tuesday, June 24, 2003 12:16 PM
> > > > Subject: [squid-users] squid using more bandwidth!!!
> > > >
> > > >
> > > > > Dear Henrik/Ahmad
> > > > >
> > > > > once again i need your help regarding the bandwidth usage of
> squid.It
> > is
> > > > > consuming more bandwidth than saving i doubt if it is saving
> anything.
> > > > > How i found that squid is using more bandwidth is mentioned below.
> > > > >
> > > > > I have a proxy server with about 50 users and it is connnected to
> > squid
> > > > with
> > > > > wccp.
> > > > > The ip address of my proxy server is 202.152.128.25
> > > > > The ip address of my squid server is 202.152.128.2
> > > > >
> > > > > When i check the ip accounting with a software called netflow i
get
> > the
> > > > > following results
> > > > > 202.152.128.2 250Kb/s ------>>when using
> squid+wccp
> > > v2
> > > > > 202.152.128.25 170Kb/s------>>when using proxy
> > server
> > > > > alone WITHOUT squid.
> > > > >
> > > > >
> > > > > The following is the http stats.
> > > > > current hits 199.0 req/min
> > > > > current requests 324.0 req/min
> > > > >
> > > > > i have 3 scsi driver 8 GB each and they are 50% full.
> > > > >
> > > > > so what is the fun using squid if it is consuming bandwidth rather
> > > saving,
> > > > > kindly do clear me.
> > > > >
> > > > >
> > > > > Regards
> > > > > Sukhjit
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Received on Wed Jun 25 2003 - 01:21:05 MDT

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