Re: [squid-users] Squid Box Tunning

From: Joe Cooper <joe@dont-contact.us>
Date: Thu, 10 May 2001 07:14:14 -0500

Naeem wrote:

> I am running squid 24S1 on RH Linux 6.2 kernel 2.2.14-5 and it is quite
> stable, my cachemgr ' Info ' look like this under heavy loads, i am running
> transparent proxy through policy routing on Cisco , using ' diskd ' as store
> type.
> I need to know somethings from the following output:
>
> 1- My number of requests per minute is 1219.9 , can it be improved in any
> way?

Get more users, maybe? ;-) This tells you the number of requests being
answered...unless your cache is overloaded, this is all that it is being
asked to do--so it's doing 'perfect'. This is not the 'maximum' number
of requests your Squid can answer...the only way to find that is to push
it until it fails, and then back it off a little--that's what it will
handle. Hopefully, you'll never reach that point.

> 3- I have also read that number of requests/sec can be reached upto 100 with
> a well configured Squid box, i need to know how can i reach this and what is
> i am missing in order to achieve this?

More users will lead to a higher request rate. Your hit response times
are fine as far as I can tell. Your Squid does not need to be any
faster. Your Squid is serving you just fine.

And 100reqs/sec is pretty easy (and with your hardware it will be
automatic--no tuning needed). You can probably get 140 from your box
pretty easily, using my tuning tips. But, as mentioned, you don't need it.

> 4- Are the hit ratios fine or lower?

Hit rates look very good. Enjoy them. Yours are better than many.

> My ' df -h ' output looks like this:
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda6 1.4G 96M 1.3G 7% /
> /dev/sda1 15M 5.7M 8.6M 40% /boot
> /dev/sdb1 17G 3.5G 12G 22% /cache1
> /dev/sda5 1.9G 1.3G 559M 70% /usr
> /dev/sda8 13G 10G 2.1G 83% /var
> /dev/sdc1 34G 23G 8.7G 73% /cache2nd
>
> My squid box is PIII 650, with 1 GB RAM , Ultra SCSI 10K rpm drives (Three
> 18GB IBM+18GB IBM+36GB Seagette Cheetah).
>
> Any suggestions to improve my box , if you need any other info i am ready to
> provide. I have also read Joe's article on tunning Squid boxes at
> swelltech's website.
> Thanks to all ' Squid Guru's ' on providing a very good support to
> squid-users.

Relax, and enjoy your nice zoomy Squid. If it starts to slow down, then
maybe you should worry. But it looks like you have plenty of horsepower
for your current needs. If you do start to hit performance limits, then
upgrade your CPU--I usually equip such a large box with a GHz processor.
  But right now you are fine, and shouldn't worry so much. ;-)
                                   --
                      Joe Cooper <joe@swelltech.com>
                  Affordable Web Caching Proxy Appliances
                         http://www.swelltech.com
Received on Thu May 10 2001 - 06:05:11 MDT

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