[
https://issues.apache.org/jira/browse/DISPATCH-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854733#comment-16854733
]
Ken Giusti commented on DISPATCH-1352:
--------------------------------------
{quote}About the code impact; that's a whole different story: we need to
recognize the "embedded" qd_buffer_t while freeing qd_buffer_list_t to avoid
deallocating them.
{quote}
That's where the "beauty" of the extra refcount come in - right now the
qd_message_send/qd_message_receive code will recognize that and avoid the free.
Poke around the "add fanout" logic and let me know if you have any Q's
> qd_buffer_list_clone cost is dominated by cache misses
> ------------------------------------------------------
>
> Key: DISPATCH-1352
> URL: https://issues.apache.org/jira/browse/DISPATCH-1352
> Project: Qpid Dispatch
> Issue Type: Improvement
> Components: Routing Engine
> Affects Versions: 1.7.0
> Reporter: Francesco Nigro
> Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> qd_buffer_list_clone on qd_message_copy for
> qd_message_pvt_t.ma_to_override/ma_trace/ma_ingress is dominated by cache
> misses costs:
> * to "allocate" new qd_buffer_t
> * to reference any qd_buffer_t from the source qd_buffer_list_t
> Such cost is the main reason why the core thread is having a very low IPC (<
> 1 istr/cycle) and given the single threaded nature of the router while
> dealing with it, by solving it will bring a huge performance improvement to
> make the router able to scale better.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]