Re: [squid-users] squid centos and osq_lock

2015-08-01 Thread Marcus Kool
On 07/31/2015 03:56 PM, Amos Jeffries wrote: On 1/08/2015 4:06 a.m., Josip Makarevic wrote: Marcus, tnx for your info. OS is centos 6 w kernel 2.6.32-504.30.3.el6.x86_64 Yes, cpu_affinity_map is good and with 6 instances there is load only on first 6 cores and the server is 12 core, 24 HT T

Re: [squid-users] squid centos and osq_lock

2015-07-31 Thread Amos Jeffries
On 1/08/2015 4:06 a.m., Josip Makarevic wrote: > Marcus, tnx for your info. > OS is centos 6 w kernel 2.6.32-504.30.3.el6.x86_64 > Yes, cpu_affinity_map is good and with 6 instances there is load only on > first 6 cores and the server is 12 core, 24 HT Then I suspect that mutex and locking will b

Re: [squid-users] squid centos and osq_lock

2015-07-31 Thread Josip Makarevic
Marcus, tnx for your info. OS is centos 6 w kernel 2.6.32-504.30.3.el6.x86_64 Yes, cpu_affinity_map is good and with 6 instances there is load only on first 6 cores and the server is 12 core, 24 HT each instance is bound to 1 core. Instance 1 = core1, instance 2 = core 2 and so on so that should n

Re: [squid-users] squid centos and osq_lock

2015-07-31 Thread Marcus Kool
osq_lock is used in the kenel for the implementation of a mutex. It is not clear which mutex so we can only guess. Which version of the kernel and distro do you use? Since mutexes are used by Squid SMP, I suggest to switch for now to Squid non-SMP. What is the value of cpu_affinity_map in all

Re: [squid-users] squid centos and osq_lock

2015-07-30 Thread Josip Makarevic
Hi Amos, cache_mem 0 cache deny all already there. Regarding number of nic ports we have 4 10G eth cards 2 in each bonding interface. Well, entire config would be way too long but here is the static part: via off cpu_affinity_map process_numbers=1 cores=2 forwarded_for delete visible_hostname

Re: [squid-users] squid centos and osq_lock

2015-07-30 Thread Amos Jeffries
On 31/07/2015 8:05 a.m., Josip Makarevic wrote: > Hi, > > I have a problem with squid setup (squid version 3.5.6, built from source, > centos 6.6) > I've tried 2 options: > 1. SMP > 2. NON-SMP > > I've decided to stick with custom build non-smp version and the thing is: > - i don't need cache - a

[squid-users] squid centos and osq_lock

2015-07-30 Thread Josip Makarevic
Hi, I have a problem with squid setup (squid version 3.5.6, built from source, centos 6.6) I've tried 2 options: 1. SMP 2. NON-SMP I've decided to stick with custom build non-smp version and the thing is: - i don't need cache - any kind of it - I have DNS cache just for that - squid has to listen