In other words, I bind each of the four workers to two (virtual) cores
(similar to example in Core functionality). For
a medium-sized frequented site, would you consider this the “correct”
way? Or would you leave out the worker_cpu_affinity setting and let the
CPU scheduler do the rest?
On Thu, Nov 20, 2014 at 07:37:56PM +0100, Alex wrote:
Core functionality). For a
medium-sized frequented site, would you consider this the “correct” way? Or
would you leave out the worker_cpu_affinity setting and let the CPU
scheduler do the rest?
Unless in your workload nginx is CPU-bound, I would recommend to
let the OS scheduler to do the work.