Number of worker processes on hyperthreaded processor

Andrew Stewart boss at airbladesoftware.com
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

[1] http://ark.intel.com/products/52213/Intel-Core-i7-2600-Processor-8M-Cache-up-to-3_80-GHz



More information about the mongrel-unicorn mailing list