|
Performance regression in priority queue implementatino.
-------------------------------------------------------- Key: QPID-3960 URL: https://issues.apache.org/jira/browse/QPID-3960 Project: Qpid Issue Type: Bug Components: C++ Broker Affects Versions: 0.16 Reporter: Alan Conway Assignee: Alan Conway Commit 1307582 introduced a serious regression in the performance of priority queues. QPID-3603: Keep acquired messages on queues for all queue types. Updated priority and lvq queues to keep acquired messages, and supply them to browsers if requested. This is necessary so replicating subscriptions can back-up these queue types without message loss. To demonstrate the slowdown, run this on the broker before and after the commit: qpid-send -a "test1;{create:always,node:{x-declare:{arguments:{'qpid.priorities':10}}}}" --priority 5 --content-size 259 -m 25000 --report-total E.g. on my test I see 24112 m/s before and 4549 after. Note that if you repeatedly run the test the results get progressively worse, so it appears to be related to queue depth. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
[ https://issues.apache.org/jira/browse/QPID-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Conway updated QPID-3960: ------------------------------ Summary: Performance regression in priority queue implementation. (was: Performance regression in priority queue implementatino.) > Performance regression in priority queue implementation. > -------------------------------------------------------- > > Key: QPID-3960 > URL: https://issues.apache.org/jira/browse/QPID-3960 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: 0.16 > Reporter: Alan Conway > Assignee: Alan Conway > > Commit 1307582 introduced a serious regression in the performance of priority queues. > QPID-3603: Keep acquired messages on queues for all queue types. > > Updated priority and lvq queues to keep acquired messages, and supply > them to browsers if requested. This is necessary so replicating > subscriptions can back-up these queue types without message loss. > > To demonstrate the slowdown, run this on the broker before and after the commit: > qpid-send -a "test1;{create:always,node:{x-declare:{arguments:{'qpid.priorities':10}}}}" --priority 5 --content-size 259 -m 25000 --report-total > E.g. on my test I see 24112 m/s before and 4549 after. Note that if you repeatedly run the test the results get progressively worse, so it appears to be related to queue depth. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
In reply to this post by JIRA jira@apache.org
[ https://issues.apache.org/jira/browse/QPID-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259600#comment-13259600 ] Alan Conway commented on QPID-3960: ----------------------------------- Review at https://reviews.apache.org/r/4814/ > Performance regression in priority queue implementatino. > -------------------------------------------------------- > > Key: QPID-3960 > URL: https://issues.apache.org/jira/browse/QPID-3960 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: 0.16 > Reporter: Alan Conway > Assignee: Alan Conway > > Commit 1307582 introduced a serious regression in the performance of priority queues. > QPID-3603: Keep acquired messages on queues for all queue types. > > Updated priority and lvq queues to keep acquired messages, and supply > them to browsers if requested. This is necessary so replicating > subscriptions can back-up these queue types without message loss. > > To demonstrate the slowdown, run this on the broker before and after the commit: > qpid-send -a "test1;{create:always,node:{x-declare:{arguments:{'qpid.priorities':10}}}}" --priority 5 --content-size 259 -m 25000 --report-total > E.g. on my test I see 24112 m/s before and 4549 after. Note that if you repeatedly run the test the results get progressively worse, so it appears to be related to queue depth. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
In reply to this post by JIRA jira@apache.org
[ https://issues.apache.org/jira/browse/QPID-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Conway resolved QPID-3960. ------------------------------- Resolution: Fixed > Performance regression in priority queue implementation. > -------------------------------------------------------- > > Key: QPID-3960 > URL: https://issues.apache.org/jira/browse/QPID-3960 > Project: Qpid > Issue Type: Bug > Components: C++ Broker > Affects Versions: 0.16 > Reporter: Alan Conway > Assignee: Alan Conway > > Commit 1307582 introduced a serious regression in the performance of priority queues. > QPID-3603: Keep acquired messages on queues for all queue types. > > Updated priority and lvq queues to keep acquired messages, and supply > them to browsers if requested. This is necessary so replicating > subscriptions can back-up these queue types without message loss. > > To demonstrate the slowdown, run this on the broker before and after the commit: > qpid-send -a "test1;{create:always,node:{x-declare:{arguments:{'qpid.priorities':10}}}}" --priority 5 --content-size 259 -m 25000 --report-total > E.g. on my test I see 24112 m/s before and 4549 after. Note that if you repeatedly run the test the results get progressively worse, so it appears to be related to queue depth. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
| Powered by Nabble | Edit this page |
