[squid-users] Recommended Multi-CPU Configuration

Amos Jeffries squid3 at treenet.co.nz
Thu Jun 18 01:31:45 UTC 2015


On 18/06/2015 8:53 a.m., Michael Pelletier wrote:
> Hello,
> 
> I am looking to had some more power to squid. I have seen two different
> types of configurations to do this:
> 
> 1. Adding workers directive equal to the number of cpus. Then adding a
> special wrapper around the AUFS disk cache so that the correct worker can
> only access the correct cache. Yes, I know rock is multi cpu capable.
> 
> 2. Using the split configuration from the Squid Web page. This involved a
> front end and multiple backend squid servers on the same server.
> http://wiki.squid-cache.org/ConfigExamples/MultiCpuSystem
> 
> My question is, which one is recommended? What are the pros and cons of
> each?
> 

Both and neither. #1 improves bandwidth savings. #2 improves raw speed.
Pick your poison.

These are example configurations only. For real high performance mutiple
machines in a mix of the two setups is even better.

Amos



More information about the squid-users mailing list