You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (Created) (JIRA)" <ji...@apache.org> on 2012/04/18 20:30:39 UTC

[jira] [Created] (QPID-3960) Performance regression in priority queue implementatino.

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3960) Performance regression in priority queue implementation.

Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
     [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Commented] (QPID-3960) Performance regression in priority queue implementatino.

Posted by "Alan Conway (JIRA)" <ji...@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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Resolved] (QPID-3960) Performance regression in priority queue implementation.

Posted by "Alan Conway (JIRA)" <ji...@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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org