[PATCH 2 of 2] add support for setting worker processes and CPU affinity automatically

Joshua Zhu zhuzhaoyuan at gmail.com
Thu Jan 12 16:41:58 UTC 2012

Hi Maxim,

On Fri, Jan 13, 2012 at 12:07 AM, Maxim Konovalov <maxim at nginx.com> wrote:

> Hi Joshua,
> nice work indeed, thanks!
> Do you have a practical example when such explicit binding
> does better work than OS scheduler?
> --
> Maxim Konovalov
> +7 (910) 4293178
> http://nginx.com/

Actually we did a test against the CPU affinity feature before and found it
was a little bit better than what the OS scheduler did, not too much
though. This is as expected since there will be less CPU cache missing with
this feature turned on.


Joshua Zhu
Senior Software Engineer
Server Platforms Team at Taobao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120113/9c7caadb/attachment.html>

More information about the nginx mailing list