RE: [squid-users] low squid performance?

From: Chris Robertson <crobertson@dont-contact.us>
Date: Thu, 23 Feb 2006 08:32:37 -0900

> -----Original Message-----
> From: Tomasz Kolaj [mailto:admin@abp.pl]
> Sent: Saturday, January 28, 2006 10:01 AM
> To: Chris Robertson
> Subject: Re: [squid-users] low squid performance?
>
>
> Dnia czwartek, 23 lutego 2006 01:11, napisałeś:
>
> > > > * High latency clients
> > >
> > > What do you mean "high latecy clients"?
> >
> > The majority of my customers have a network path like:
> >
> > client->squid->satellite->squid->internet
>
> many of my clients: client->[radio line
> {12,34,54}mbps]->squid->internet
>
> > 100 requests/second put my CPU usage in the high 80s (on a
> > 32 bit Intel
> > Xeon 3.00GHz).
>
> So my result isn't so bad. But I must tune squid to maximum possible
> performance.

With epoll, 100 Req/sec puts my CPU at 23%. It made a huge difference.

>
> >
> > > aragorn squid # squid -v
> > > Squid Cache: Version 2.5.STABLE12
> > > configure options: --prefix=/usr --bindir=/usr/bin
> > > --exec-prefix=/usr
> > > --sbindir=/usr/sbin --localstatedir=/var --mandir=/usr/share/man
> > > --sysconfdir=/etc/squid --libexecdir=/usr/lib/squid
> > > --enable-auth=basic,digest,ntlm --enable-removal-policies=lru,heap
> > > --enable-linux-netfilter --enable-truncate --with-pthreads
> > > --enable-epool
> >
> > Hopefully that's just a misspelling. ;o)
>
> Why?;) I did some wrong?
> I'm testing epool patch like you said;>
>
> > > --disable-follow-x-forwarded-for --host=x86_64-pc-linux-gnu
> > > --disable-snmp
> > > --disable-ssl --enable-underscores
> > > --enable-storeio='diskd,coss,aufs,null'
> > > --enable-async-io
>
> ah.. async-io, mayby better will be to specify number of
> async-io threads?

Try anything once. :o)

>
> > I don't see any other likely problems (not saying there aren't any).
> Is chance to do something morre with hardware? I can add more
> memory banks or
> hard discs (for example +2 wd raptors)

More memory and more spindles (drives) certainly won't hurt, but you seem to be CPU limited. Taking care of that problem will likely net you the best improvement.

>
> Regards,
> --
> Tomasz Kolaj
>

Chris
Received on Thu Feb 23 2006 - 10:32:43 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST