You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Cliff Jansen (JIRA)" <ji...@apache.org> on 2017/08/22 20:51:00 UTC

[jira] [Created] (PROTON-1550) Epoll proactor performance improvement

Cliff Jansen created PROTON-1550:
------------------------------------

             Summary: Epoll proactor performance improvement
                 Key: PROTON-1550
                 URL: https://issues.apache.org/jira/browse/PROTON-1550
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
    Affects Versions: proton-c-0.18.0
         Environment: Linux
            Reporter: Cliff Jansen
             Fix For: proton-c-0.18.0


While stress testing and evaluating performance of the epoll proactor there have been indications that as the number of connections increase, the throughput increases more slowly than overall cpu use.

Instrumenting and profiling suggest that, at least for applications like qpid-dispatch, there can be a large number of simultaneous pending pn_connection_wake() requests for thread-safe handoff of messages from one connection context to another.

As the number of connections rise, the use of adaptive spin locks for this purpose is suspected to be an inefficient strategy, perhaps resulting in a lock convoy.  A trial use of one or more lockless queues could yield substantial performance gain or at least better understanding of current hot spots.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org