[squid-users] Why Squid on CentOS is faster than Debian ?
Alex Rousskov
rousskov at measurement-factory.com
Mon Apr 1 21:22:54 UTC 2019
On 4/1/19 3:17 AM, David Touzeau wrote:
> On 30.03.19 10:22, David Touzeau wrote:
>> * Debian 9 net install + Squid compiled
>> * CentOS 7 minimalĀ + Squid compiled
>>
>> Same version, same compilation parameters, same Squid settings.
>> It seems that Squid on CentOS is 10 times faster than squid on Debian
> We have recompiled same squid version on 2 systems
>
> No march= using --disable-arch-native on both systems
>
> Debian config.log
> https://github.com/dtouzeau/1.6.x/blob/Tempfiles/debian9-config.log?raw=true
>
> Centos config.log
> https://github.com/dtouzeau/1.6.x/blob/Tempfiles/centos7-config.log?raw=true
>
> Result was CentOS 44% faster on TCP_MEM_HITS
Just to clarify: Did changing ./configure options alone move you from
1000% to 44%? Or was the earlier "10 times" just a crude approximation
that we should ignore now?
Do your Squids use shared memory for the memory cache? See
memory_cache_shared (even if you do not set it explicitly).
http://www.squid-cache.org/Doc/config/memory_cache_shared/
Any significant difference in mgr:info and mgr:counters output after a
test that only has memory hits?
Alex.
More information about the squid-users
mailing list