[squid-users] I want to know the concerns of load testing

Alex Rousskov rousskov at measurement-factory.com
Fri Oct 2 14:08:59 UTC 2020


On 10/2/20 1:26 AM, m k wrote:

> Is there any case where Squid is used by a company that is used
> by more than 30,000 users?

Yes, some Squid (hierarchies) probably serve millions of users. I know
several companies using Squids for serving large user populations, but I
cannot name customer names.


> What are the important point when using the
> "wokers" setting for multiple processes?  

For a few starting points, please see

*
https://wiki.squid-cache.org/Features/SmpScale#How_to_configure_SMP_Squid_for_top_performance.3F

* the recently added "worker-queues" configuration option:
  https://github.com/squid-cache/squid/pull/369


HTH,

Alex.


> 2020年10月2日(金) 11:15 m k:
> 
>     Hello,
> 
>     I'm planning a proxy renewal for a company with 45k clients.
>     I'm looking at the performance of a single Squid to determine the
>     number of Squids.
> 
>     Environment: Virtual (OpenStack)
>     OS: CentOS8.1
>     CPU: 4 cores
>     MEM: 8GB
>     DISK: SATA30GB / 100GB
>     Squid 4.4
>      SSL Bump
>      Blacklist: 1,700k
>      auth: NTLM
>      cache: 4GB
> 
>     In an environment with authentication disabled and SSL decoding enabled
>     A load test was performed with Jmeter.
> 
>     Result: CPU high load (100rps-1000rps: CPU Usage 80-90%)
>     (Confirm with top command)
> 
>     Added multi-core support settings to squid.conf
>     "workers 4"
> 
>     A load test with Jmeter was performed again.
> 
>     Result: CPU load is distributed to 4 cores (CPU Usage 20-40%)
>     (Confirm with top command)
> 
>     Question
>     1. 1. How much will CPU Usage increase if NTLM authentication is
>     enabled?
>     2. 2. Are there any concerns other than CPU Usage in Squid?
>     3. 3. When I enabled the cache in this test, the CPU Usage
>     decreased, but in general, does the Squid cache increase the CPU Usage?
> 
>     Thank you,
>     Kitamura
> 
> 
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
> 



More information about the squid-users mailing list