Question : Optimizing/troubleshooting<wbr /> squid performance

My problem started because of slower internet connections at our office. I am guessing this is caused
by the slower performance of my squid proxy. But honestly, I am not sure if it is indeed the source of my headache.

Now I am not a Unix guru: u c I am just a part-time sys ad here (since no one else can take the job) my main task being a programmer. When something works already I just stop there and tweak no more. Now I have gotten my squid running on a FreeBSD machine to work already, peering with two parent proxies from two different ISPs. The setup already works fine, workstations can access the net. At a particular point in time, in-fact, download times are satisfactory. Well, until machines connected to the LAN increased little by little, that is. Now things are slow!!!!

I don't know where to start "debugging" whether the trouble is in squid, and how I can optimize it if it is.
I don't even know how to check how much memory squid is eating up (maybe I just need an additional RAM).
Or how to know whether my two NICs (1 eth internal, 1 eth for external traffic) are the bottlenecks.

I've read some online articles about setting up cache_mem to be larger, lessening cache_dir coz disk access maybe the bottleneck (my disks are SCSI, but you see I'm willing to try anything), running squid using nice (I haven't tried that one yet). But my net access is still slow. Either squid is the problem or it is my ISP.

Can anyone help me troubleshoot squid, or maybe get "statistical data" that will help me determine squid is already using up all available hardware resources (ram,cpu,eth...) but still can't cope up? Maybe I just need to run this on a faster machine.





Answer : Optimizing/troubleshooting<wbr /> squid performance

Please have a look at the following docs to see if it help:
http://www.linuxforum.com/apache/misc/perf-bsd44.html#detail
http://www.uck.uni.torun.pl/~maciek/w3cache/perf.html
Random Solutions  
 
programming4us programming4us