worker cpu balance

Renaud Allard renaud at
Sun Apr 13 12:42:45 MSD 2008

Aleksandar Lazic wrote:
> On Son 13.04.2008 10:19, Renaud Allard wrote:
>> Aleksandar Lazic wrote:
>>> However, it does not scale on multiple CPUs, whatever the number of
>>> worker_processes. I've tried 1, 2, 8, ... The processes are quite
>>> there, but something's preventing them from sharing a resource since
>>> the machine never goes beyond 50% CPU used (it's a dual core).
>> Was worker_cpu_affinity defined in the config file to ensure each
>> worker was on a particular CPU?
> No.

So perhaps it is a good idea to make the test again with cpu affinity
set to see if the results are the same.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3304 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the nginx mailing list