Re: Use of worker_cpu_affinity in hyper-threading context

2014-11-21 Thread Alex
Hello Maxim, On 2014-11-21 20:23, Maxim Dounin wrote: Unless in your workload nginx is CPU-bound, I would recommend to let the OS scheduler to do the work. Thanks, than I will let the OS scheduler decide (in my workload, php5-fpm is CPU-bound). Again, appreciated your help! Alex _

Re: Use of worker_cpu_affinity in hyper-threading context

2014-11-21 Thread Maxim Dounin
Hello! On Thu, Nov 20, 2014 at 07:37:56PM +0100, Alex wrote: > Hi, > > I have one E3-1240 v3 CPU here, which has 4 cores with hyper-threading > enabled. Currently I have the following setup in nginx.conf: > > worker_processes 4; > worker_cpu_affinity 1010 0101 1010 0101; > > In

Use of worker_cpu_affinity in hyper-threading context

2014-11-20 Thread Alex
Hi, I have one E3-1240 v3 CPU here, which has 4 cores with hyper-threading enabled. Currently I have the following setup in nginx.conf: worker_processes 4; worker_cpu_affinity 1010 0101 1010 0101; In other words, I bind each of the four workers to two (virtual) cores (similar