Number of worker processes on hyperthreaded processor

Andrew Stewart boss at
Mon Nov 19 10:17:41 UTC 2012

Good morning,

The tuning page says worker_processes should be at least the number of CPU cores on a dedicated server.  In the case of hyper-threading, should this be the number of cores or the number of threads?

For example the Intel Core i7-2600 Quadcore[1] has 4 cores and 8 threads.  Would I start my worker_processes at 4 or 8?

Finally, would the same apply to Nginx worker processes?

Many thanks,

Andrew Stewart


More information about the mongrel-unicorn mailing list