why reuseport don't increases throughoutput?

CJ Ess zxcvbn4038 at gmail.com
Mon May 22 17:34:47 UTC 2017


I'd be interested in knowing more also - I know that the Linux 2.6 kernel
is still really popular and didn't have the SO_REUSEPORT socket option
(though it was in the include files and wouldn't cause an error if you
referenced it), might that be what your running into?

On Wed, May 17, 2017 at 7:58 AM, fengx <nginx-forum at forum.nginx.org> wrote:

> Hello
>
> It shows the new feature reusport from v1.9.1 can increase the QPS by 2-3
> times than accept_mutex on and off in this article
> https://www.nginx.com/blog/socket-sharding-nginx-release-1-9-1/.  But the
> result is disappointed when we have the test in our production with
> V1.11.2.2. It don't even have the improvement but reduced, by 10%, dropped
> from 42K QPS(with accept_mutex off) to 38K QPS(with reuseport enabled). and
> it indeed reduce the latency. The two test cases have anything identicial
> except that the later have reuseport enabled.  I wonder if I have missed
> some special configuration.
>
> Thanks.
> Xiaofeng
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,274281,274281#msg-274281
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170522/abd9c857/attachment.html>


More information about the nginx mailing list