Hi all, The nginx httperf result w/ SO_REUSEPORT: 49852 reqs/s There are still 35%~40% idle time on each hyperthread (it probably could do more, however, I can't find more boxes to run httperf on :P).
The nginx httperf result w/o SO_REUSEPORT: 37386 reqs/s SO_REUSEPORT gives ~33% performance improvement! One thing needs to note: The "Send the TERM signal to the new master process. ..." binary upgrade reverting method as mentioned in: http://nginx.org/en/docs/control.html will cause glitch w/ so_reuseport global option. However, the "Send the HUP signal to the old master process. ..." binary upgrade reverting method works smoothly w/ so_reuseport global option. For folks compile their own nginx, nginx-1.4.2: http://leaf.dragonflybsd.org/~sephe/nginx142.diff nginx-1.5.3+ and nginx development branch: http://leaf.dragonflybsd.org/~sephe/nginx153.diff The above patches introduce one global option: so_reuseport [on|off]; It is off by default. I have talked to jmarino@ about import these patches to dports. I submitted these patches to nginx one month ago (well, the accepting progress is slow :). Best Regards, sephe -- Tomorrow Will Never Die
