[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

From: firecold <firecoldangelus_at_hotmail.com>
Date: Fri, 25 Oct 2013 13:00:02 -0700 (PDT)

Kid1, kid2, kid3, are the numbers of processes, so you set up workers 3, the
kid4 is the coordinator cpu_affinity_map only you can give to each core
process with respect to aufs, it is true that it can cause problems, but you
can do a combination between rock and aufs, for example:

cache_dir rock /cache1/squid 170000 16 256
workers 3
cpu_affinity_map process_numbers=1,2,3,4 cores=1,3,5,7
if ${process_number}=1
cache_dir aufs /cache2/squid/${process_number} 170000 16 256

if ${process_number}=2
cache_dir aufs /cache3/squid/${process_number} 170000 16 256


View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-distribute-squid-loads-to-cpus-and-memories-using-SMP-feature-tp4662867p4662888.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Oct 25 2013 - 20:00:44 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 26 2013 - 12:00:06 MDT