Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1324
In that case I can close this PR and make another one using the other
branch I've posted...but I'm concerned on the use case here...Mapped reads are
the fastest just because NIO/MAPPED share the same OS page cache while writing
,with ASYNCIO I need to do some testz before...
My supposition is that It will rise major page faults on each OS page read
because the OS page cache is cold with ASYNCIO that doesn't use it for the
writes...so the only benefit will be to avoid to instantiate the direct
ByteBuffer ...is not a big improvement...
But If the read was performed with a huge direct ByteBuffer like the paging
case..it could worth...wdyt?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---