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

Francesco Nigro edited comment on DISPATCH-1352 at 6/5/19 6:34 AM:
-------------------------------------------------------------------

[~kgiusti] [~ganeshmurthy] The first POC I've implemented hasn't worked very 
well (i've pooled 3*64 byte long qd_buffer_t  for each qd_message_pvt_t), 
because now each qd_message is allocating 256 bytes more for the original 
message (that's not using the embedded buffers to populate qd_buffer_list_t). I 
will try to do the same for the src buffer and will tell you which improvements 
it brings.


was (Author: [email protected]):
[~kgiusti][~ganeshmurthy] The first POC I've implemented hasn't worked very 
well (i've pooled 3*64 byte long qd_buffer_t  for each qd_message_pvt_t), 
because now each qd_message is allocating 256 bytes more for the original 
message (that's not using the embedded buffers to populate qd_buffer_list_t). I 
will try to do the same for the src buffer and will tell you which improvements 
it brings.

> 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]

Reply via email to