On 19/03/11 10:53, david_at_lang.hm wrote:
> On Fri, 18 Mar 2011, david_at_lang.hm wrote:
>
>> On Fri, 18 Mar 2011, Amos Jeffries wrote:
>>
>>> On 18/03/11 10:05, david_at_lang.hm wrote:
>>>> ping, any comments on this?
>>>>
>>>> excluding acl's, cache_peer* and *direct config entries (~500 lines
>>>> worth, all IP, servername, port# or url_regex based)
>>>
>>> Tested with or without all those ACLs? They do make a difference to
>>> speed, even the fast ACL tests.
>>
>> I would expect them to, but my issue isn't with the overall speed, but
>> rather with the relative speed of the two versions when running the
>> same ruleset. It appears that 3.1 is significantly slower under these
>> conditions than 3.0.
>>
>>>> pid_filename /var/run/squid.pid
>>>> cache_dir null /tmp
>>>> client_db off
>>>> cache_access_log syslog squid
>>>
>>> NP: Squid needs a syslog format spec. Same as you would use in the
>>> syslog config. "syslog:daemon.1" or some such. And the directive name
>>> is now just "access_log"
>
> it is documented as the facility and severity being optional, and the
> format spec is given 'squid'
>
>>> There is about 30% CPU load increase as well as the raw speed drop.
>>> That 30% is IMO what you are measuring. When topping out the CPU it
>>> obviously can't handle many more RPS.
>>>
>>> * adding IPv6 support
>>> - copying, checking version and text'ifying larger IPs a lot is SLOW.
>>> - looking up DNS twice (AAAA and A) is relatively slower.
>>> - failover when connecting via a network with broken IPv6
>>> connectivity results slower server connect times. any transit network
>>> blocking ICMPv6 breaks *your* IP failover.
>>
>> 3.1 was compiled without IPv6 support (I'll report all the config
>> options in the morning)
>
> Ok, the config options for 3.0 and 3.1 are:
>
> From dlang_at_digitalinsight.com Fri Mar 18 14:47:00 2011
> Date: Fri, 18 Mar 2011 14:46:59 -0700 (PDT)
> From: David Lang <dlang_at_digitalinsight.com>
> To: david_at_lang.hm
> Subject: squid config
>
> It was created by Squid Web Proxy configure 3.0.STABLE12, which was
> generated by GNU Autoconf 2.62. Invocation command line was
>
> $ ./configure --prefix= --bindir=/usr/squid/bin
> --sbindir=/usr/squid/sbin --libexecdir=/usr/squid/libexec
> --datadir=/usr/squid/share --sysconfdir=/etc/squid
> --localstatedir=/usr/squid/var --mandir=/usr/squid/man
> --disable-ident-lookups --enable-default-err-language=English
> --enable-err-languages=English --disable-wccp --enable-kill-parent-hack
> --enable-gnuregex --disable-loadable-modules --enable-ssl
> --disable-translation --with-large-files --with-logdir=/var/log
> --enable-storeio=null --enable-err-languages=en en-us
>
>
>
> It was created by Squid Web Proxy configure 3.1.11, which was
> generated by GNU Autoconf 2.68. Invocation command line was
>
> $ ./configure --prefix= --bindir=/usr/squid/bin
> --sbindir=/usr/squid/sbin --libexecdir=/usr/squid/libexec
> --datadir=/usr/squid/share --sysconfdir=/etc/squid
> --localstatedir=/usr/squid/var --mandir=/usr/squid/man
> --disable-ident-lookups --disable-wccp --enable-kill-parent-hack
> --disable-loadable-modules --disable-ssl --disable-translation
> --with-large-files --with-logdir=/var/log --disable-ipv6
> --with-filedescriptors=32768
>
> is there anything in here that hurts the performance and I should remove
> (or anything I should have in here for best performance)
Nothing in that lot.
Amos
-- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.11 Beta testers wanted for 3.2.0.5Received on Fri Mar 18 2011 - 23:46:19 MDT
This archive was generated by hypermail 2.2.0 : Sat Mar 19 2011 - 12:00:01 MDT