Re: Squid is becoming slow with 3000 ACL's ...

From: Apiset Tananchai <aet@dont-contact.us>
Date: Thu, 3 Sep 1998 13:17:45 +0700 (ICT)

Hi,

Recent version of squid should store ACLs in SplayTree which will make
search time far better than linear. I think in older squid you have to
enable it with

./configure --enable-splaytree

not sure about 1.1.x though, maybe you have to edit src/Makefile and
uncomment something..

--
aet
On Wed, 2 Sep 1998, Henny Bekker wrote:
> Dear Squid users,
> 
> A colleague of my is using ACL's to block a number of domains/Web-sites
> (3000 in total) for his school cache..  This cache (Squid v1.1.20 and
> Squid 1.2beta21) is becoming very slow (respons-times over 5 seconds)..
> It looks like Squid is sequentially examening these ACL's..
> 
> Is Squid v1.2-beta24pl1 better able handling these relative large number
> of ACL's??  Or is a patch available to get a Btree search of these ACL's..
> 
> Cheers, Henny
> 
> ----------------------------------------------------------------------------
> E-Mail: H.Bekker@accu.uu.nl     !Disclaimer:The main obstacle to progress is
> http    http://www.uu.nl/~henny !           not ignorance, but the illusion 
> PTT:    Voice: +31 30 2536971 Fax: +31 30 2531633     ! of knowledge    o
> Paper:  H.J.Bekker, Utrecht University, Computer Centre             _  /- _
>         Po Box 80011, 3508 TA  Utrecht  Nederland                  (_) > (_)
> ----------------------------------------------------------------------------
"Nobody will ever need more than 640k RAM!"
                           -- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
                           -- Bill Gates, 1996
"Nobody will ever need Windows 95."
                           -- logical conclusion
Received on Wed Sep 02 1998 - 23:10:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:51 MST