Hi,<br><br>It's a little bit inconvenient to set the CPU affinities with many-core-system. For example, to fully utilize a 16-core Linux box, we have to write something like this:<br>worker_processes 16;<br>worker_cpu_affinity  1000000000000000 0100000000000000 0010000000000000 0001000000000000 0000100000000000 0000010000000000 0000001000000000 0000000100000000 0000000010000000 0000000001000000 0000000000100000 0000000000010000 0000000000001000 0000000000000100 0000000000000010 0000000000000001;<br>


<br>This patch will make life much easier:<br>worker_processes auto;<br>worker_cpu_affinity auto;<br clear="all"><br>Please see the attachment for more detail.<br><br>Regards,<br><br>-- <br>Joshua Zhu<br>Senior Software Engineer<br>


Server Platforms Team at Taobao<br>