You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Clifford Jansen (Jira)" <ji...@apache.org> on 2024/10/23 15:58:00 UTC

[jira] [Created] (PROTON-2857) Improve performance of session flow control for senders.

Clifford Jansen created PROTON-2857:
---------------------------------------

             Summary: Improve performance of session flow control for senders.
                 Key: PROTON-2857
                 URL: https://issues.apache.org/jira/browse/PROTON-2857
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
    Affects Versions: proton-c-0.39.0
            Reporter: Clifford Jansen
            Assignee: Clifford Jansen
         Attachments: test-drain.c, test-sender.c

The current interaction of pn_link_send and transfer frame generation results in many needless buffer rotate calls that are costly.

The attached test programs (courtesy of kgiusti) shine a bright light on the problem.  In this case a single 40MB message results in 76 buffer rotates and 5GB of individual 8 bit byte moves that are all busy work.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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