Nginx worker_processes and multi core cpu's - Do Hyper-threading cores count?

Solution 1:

In case of HT, you better use worker_cpu_affinity

Solution 2:

As of today, you can configure both worker_process and worker_cpu_affinity to auto and it will handle automatically.