qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1379) Message receive performance improvements
Date Mon, 01 Jul 2019 12:20:00 GMT

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

ASF subversion and git services commented on DISPATCH-1379:
-----------------------------------------------------------

Commit c46fe7911becba624cd9ba7713ace2f02f63febe in qpid-dispatch's branch refs/heads/master
from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=c46fe79 ]

DISPATCH-1379: Performance improvement in message receive

* Eliminate three function calls per message
* Refer to consecutive memory locations in a more cache-friendy way
* Free unused buffer outside of content lock


> Message receive performance improvements
> ----------------------------------------
>
>                 Key: DISPATCH-1379
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1379
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>    Affects Versions: 1.8.0
>            Reporter: Chuck Rolke
>            Assignee: Chuck Rolke
>            Priority: Major
>
> Code inspection reveals three function calls per message that may be eliminated and a
buffer free that could be executed outside of holding the content lock.
>  * Message allocator initializes object in memory ascending order
> Despite the size of the code, setting the required fields to zero directly is faster
that calling ZERO.
>  * Eliminate redundant calls to pn_link_get_context
>  * Free empty pending buffer outside of content lock



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message