RE: [squid-users] squid performance epoll. 350req/sec 100% cpu

From: Michal Mihalik <[email protected]>
Date: Mon, 27 Mar 2006 18:51:29 +0200

Hi Stefan
 If you check the --enable-epoll is there. I hope that is enough to get it
running. (patched as well)
Kind Regards
  Michal Mihalik

> -----Original Message-----
> From: Stefan Neufeind [mailto:squid-users@stefan-neufeind.de]
> Sent: Monday, March 27, 2006 6:38 PM
> To: Michal Mihalik
> Cc: squid-users@squid-cache.org
> Subject: Re: [squid-users] squid performance epoll.
> 350req/sec 100% cpu
>
> Michal Mihalik wrote:
> > Hello.
> > I am tring to optimize squid for best possible performance.
> > it is in production and it's doing more than 350req/sec.
> At peaks upto
> > 500req/sec.
> >
> > My problem is only one. 100% cpu. :-)
> >
> > I tried to update my debian to 2.6.16 and recompiled squid:
> >
> > Squid Cache: Version 2.5.STABLE12
> > configure options: --prefix=/usr --exec_prefix=/usr
> --bindir=/usr/sbin
> > --sbindir=/usr/sbin --libexecdir=/usr/lib/squid
> --sysconfdir=/etc/squid
> > --localstatedir=/var/spool/squid --datadir=/usr/share/squid
> > --enable-async-io --with-pthreads
> --enable-storeio=ufs,aufs,diskd,null
> > --enable-linux-netfilter --enable-arp-acl
> --enable-removal-policies=lru,heap
> > --enable-snmp --enable-delay-pools --enable-htcp --enable-epoll
> > --enable-cache-digests --enable-underscores --enable-referer-log
> > --enable-useragent-log --enable-auth=basic,digest,ntlm --enable-carp
> > --with-large-files i386-debian-linux
> >
> > the thing I realy don't like is 25% cpu + 50% system cpu .
> >
> > why the 50% system!!!!!
> > can anyone help?
>
> Try compiling with the epoll-patch. Made an enormous
> performance-improvement here. System-time is "wasted" in the
> connection-handling (polling/select) - which is more
> efficient with epoll.
>
>
> Regards,
> Stefan
>
Received on Mon Mar 27 2006 - 09:51:47 MST

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