RE: [squid-users] Performance

From: Marcel Grandemange <>
Date: Sun, 2 Nov 2008 19:35:49 +0200

Marcel Grandemange wrote:
> Good day users.
> I seem to have a performance issue where my squid server doesn't seem to
> exceed 400k on objects in cache, it is not the specs of the box as im able
> to with
> Different proxy software achieve 8m on a P3.
> Advise? Need More info?

> * version of squid (including release number)?
> * some config info.

Squid Cache: Version 3.0.STABLE9
configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin'
'--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid'
'--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid'
'--sysconfdir=/usr/local/etc/squid' '--enable-removal-policies=lru heap'
'--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll'
'--enable-auth=basic ntlm digest' '--enable-basic-auth-helpers=DB NCSA PAM
MSNT SMB squid_radius_auth YP' '--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
'--enable-ntlm-auth-helpers=SMB' '--with-pthreads' '--enable-storeio=ufs
diskd null aufs' '--enable-delay-pools' '--enable-ssl' '--with-openssl=/usr'
'--enable-wccpv2' '--enable-referer-log' '--enable-useragent-log'
'--enable-arp-acl' '--enable-ipfw-transparent' '--enable-kqueue'
'--with-large-files' '--enable-stacktraces' '--enable-err-languages=Armenian
Azerbaijani Bulgarian Catalan Czech Danish Dutch English Estonian Finnish
French German Greek Hebrew Hungarian Italian Japanese Korean Lithuanian
Polish Portuguese Romanian Russian-1251 Russian-koi8-r Serbian
Simplify_Chinese Slovak Spanish Swedish Traditional_Chinese Turkish
Ukrainian-1251 Ukrainian-koi8-u Ukrainian-utf8'
'--enable-default-err-language=templates' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
'--build=amd64-portbld-freebsd7.0' 'build_alias=amd64-portbld-freebsd7.0'
'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -I/usr/include -g' 'LDFLAGS=
-rpath=/usr/lib:/usr/local/lib -L/usr/lib' 'CPPFLAGS=' 'CXX=c++'
'CXXFLAGS=-O2 -fno-strict-aliasing -pipe -I/usr/include -g'

My config is available from

>Specific to your problem some things to check are
> is 400k mean 400k objects cached or 400kB/sec fetch speeds?
> delay pools in use?
> single cache_dir per disk spindle?

400k objects cached.
Yes single cache_dir per disk.

I have tried numerous versions of squid and many different configs for
cache_dir non worked, also changed the hardware 3 times.

>we may also need to check efficient use of access controls. Some types
>like regex are known to cause major speed bumps.

>Please be using
> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
> Current Beta Squid
Received on Sun Nov 02 2008 - 17:37:03 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 03 2008 - 12:00:03 MST