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

Zero-copy NIO/MAPPED TimedBuffer

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.4
    • 2.7.0
    • Broker
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nigro.fra@gmail.com Francesco Nigro
            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

                Slack

                  Issue deployment