Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1281

Performance - Batch the freeing of messages from the core thread

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: Router Node
    • Labels:
      None

      Description

      Profiling has identified a disproportionate amount of core-thread time being spent in qdr_delete_delivery_internal_CT.  This is due to the fact that every in-core delivery-free results in the posting of one unit of general work (work to be performed by an I/O thread without any association with a particular connection).

      This improvement batches the freed messages to be handled at one time, with one unit of general work, at the end of the processing of each set of core-thread actions.

      The result is a greater degree of batching of message-cleanups when the core thread is busier.  This will free up core-thread CPU capacity for when the router is the busiest.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tedross Ted Ross
                Reporter:
                tedross Ted Ross
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: