On 04/29/2016 07:17 PM, joe wrote:
hi i have 2 cpu 4 core each i need to leave alone first processor and use the second one for squid and its helper is that will do ??? taskset 0x000000f0 squid -YC -f /etc/squid/squid.conf or other way around ?? so i can keep the kernel and other program running on first cpu not interfere with squid cause wen i run Calamaris Log Analysis on cpl large log it take cpu % very hi and it slow delay squid performance until it finish :( tks
If you use Linux, I suggest to use numactl, e.g. numactl -m 1 -N 1 /full/path/to/squid ... this makes sure that squid and all children run on CPU cores of node 1 only and use memory from node 1 only Marcus _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users