qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1408) long-lived connections suffer large performance hit after many messages
Date Sat, 25 Mar 2017 23:13:41 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942051#comment-15942051
] 

ASF GitHub Bot commented on PROTON-1408:
----------------------------------------

Github user mgoulish commented on the issue:

    https://github.com/apache/qpid-proton/pull/99
  
    By the way -- to be able to check this much faster, rather than running a test that has
to count all the way up to 2^31 messages, I have been changing one line in engine.c, from
this:
    pn_delivery_map_init(&ssn->state.outgoing, 0);
    to this:
    pn_delivery_map_init(&ssn->state.outgoing, 2145483648);
    // NOTE -- that number is 2^31minus 2 million.
    
    However, after this new fix passed that shortened test several times, I ran a full-sized
test, starting at zero.  That was successful also.


> long-lived connections suffer large performance hit after many messages
> -----------------------------------------------------------------------
>
>                 Key: PROTON-1408
>                 URL: https://issues.apache.org/jira/browse/PROTON-1408
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: michael goulish
>            Assignee: Alan Conway
>         Attachments: jira_proton_1408_reproducer.tar.gz
>
>
> In long-running soak tests, in which connections are never taken down, I am seeing a
sudden & severe performance degradation when the number of messages over the connection
reaches about 6.4 billion.  
> This is happening in tests with two senders, two receivers & one router intermediating.
 
> I have tried C libUV clients as well as CPP clients.  Behavior is not identical, but
I see sudden performance drop, ie. 8x throughput decrease or worse, in both cases.
> Alan / Ted / Ken see an issue in use of improper comparison logic in pn_do_disposition(),
in transport.c  .     I am trying to prove this now.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message