Guillaume Chartrand wrote:
Hi I run squid 2.6.STABLE12 on RHEL3 AS for web-caching and filtering my internet. I use also Squidguard to block some sites.
I configure squid to run with WCCP v2 with my cisco router. So all my web-cache traffic is redirected transparently to squid.
I don't know why but when I activate the squid it's really decrease my internet speed. It's long to have page loaded, even when it's in my network. I look with the command top and the squid process run only about 2-3 % of CPU and 15% of Memory. I also run iftop and I have about 15 Mb/s Total on my ethernet interface. I don't know where to look in the config to increase the speed. I use about 50% of disk space so it's not so bad
Thanks for the help
It's usually regex ACL at fault when speed drops noticably.
Check that:
* ACL are only regex when absoutely necessary (dstdomain, srcdomain,
dst, src are all better in most uses).
ie acl searchengines dstdomain google.com yahoo.com
* limiting regex ACL to only be tested when needed (placing a src
netblock ACL ahead of one on the http_access will speed up all requests
outside that netblockk).
ie http_access allow dodgy_users pornregexes
Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.