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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to