Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2239

Zero-copy NIO/MAPPED TimedBuffer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.4
    • Fix Version/s: 2.7.0
    • Component/s: Broker
    • Labels:
      None

      Description

      NIO/MAPPED journal types are currently performing the copy of the buffer used on TimedBuffer to accumulate writes, but this copy (and the zeroing of the new buffer) could be avoided, reducing dramatically the CPU usage and latencies during a burst of writes.
      An added benefit of this change is that isn't necessary anymore to stress the thread pool of the file factory, because there is no need to pool the buffer used to perform the write.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nigro.fra@gmail.com Francesco Nigro
                Reporter:
                nigro.fra@gmail.com Francesco Nigro
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 50m
                  5h 50m