Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-3749

Eliminate zeroing of buffers while writing the ASYNCIO journal

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • AMQ 7.7.0.CR4
    • journal

      By default ASYNCIO using TimedBuffer are zeroing the ByteBuffers used to perform the write on the journal: under load TimedBuffer can be big enough that zeroing would cost the same as copying the actual content into it, hence saving the zeroing is quite beneficial to save CPU time and increase IOPS.

      NIO and MAPPED doesn't need it because they already use directly the TimedBuffer's accumulation buffer to perform writes (that's never zeroed, because it already contains the content that they expect to write into the journal).

            fnigro Francesco Nigro
            fnigro Francesco Nigro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: