OK this turned out to be (predominantly) a problem with the switched hub
the RH servers were on.
Another interesting but hard to find problem adding to slowness (only
under load) was the use of regex ACLs. I found that when the RH boxes
started loading up with users they just bogged way down. (I didn't see
this on the Solaris box because I never got them under the same load level)
In my case I had a "url_regex" that I used to block access to several
things (2 links, some file types and mimetypes etc) such that the proxy
had to check this same url_regex acl with about 30 entries in it (in a
file) about 8 times for EACH hit. Once I changed this from url_regex to
dstdomain it went like a rocket.... constant 99% CPU to between 5 and
50% CPU.....now I'm happy :)
Sommariva Graziano wrote:
> I 'd take a look at network drivers......
>
>
>
> -----Original Message-----
> From: Peter Arnold [mailto:arnoldpj@optushome.com.au]
> Sent: Wednesday, February 20, 2002 9:10 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] Poor performance of squid-2.5 on Redhat 7.2
> compared to Solaris 8 on x86
>
>
> Hi,
> I've been working with squid for some time on low end x86/solaris platform.
> I concocted a really slick config on that worked well to impress the powers
> that be such that bought some new IBM PIII/1.13Ghz 512Mb etc etc to replace
> the solaris X86 P200 128Mb etc... woopee! except they wanted Redhat because
> IBM support redhat....
>
> Anyway we have a url we can access that indicates download speed and for
> some reason the solis box ALWAYS leaves the Redhat box for dead....1500Kbps
> vs 200-300Kbps
>
> The same speed applies for the bundled version of Squid in Redhat that is
> 2.4S1.
>
> I recompiled the exact same versions on solaris as redhat with the same
> options....
> ./configure --prefix=/opt/squid-2.5 '--enable-storeio=ufs diskd null' --
> enable-icmp --enable-delay-pools --enable-useragent-log --enable-
> referer-log --enable-snmp --enable-underscores '--enable-auth=basic ntlm' '-
> -enable-basic-auth-helpers=PAM' --enable-ntlm-auth-helpers=NTLMSSP
> except I included LDAP in the helpers on redhat
> Squid is configured on both with a null cache_dir but otherwise is pretty
> stock standard.
> Solaris/Sqiuid still wins by a factor of 5!
>
> Is there any trick to Squid on Redhat that I should know about? Can anyone
> offer any advice on trouble shooting this?
>
> Thanks in advance
> Peter Arnold
>
>
Received on Thu Mar 07 2002 - 13:48:58 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:47 MST