neoremind commented on issue #16044: URL: https://github.com/apache/lucene/issues/16044#issuecomment-4913606087
@jimczi I've updated the results and analysis, both above and in https://github.com/apache/lucene/pull/16279. In short, using `MMapDirectory` and `NIOFSDirectory` are almost the same as using plain mmap and NIO FileChannel, but notably, the the power-of-two backoff counter in mmap prefetch causes it to skip some madvise calls, so mmap + prefetch benefit diminishes or gets emptied away, please take a look of the result and/or the JMH benchmark PR if you have time. Many thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
