rmuir commented on code in PR #13223: URL: https://github.com/apache/lucene/pull/13223#discussion_r1542723020
########## lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java: ########## @@ -38,6 +38,15 @@ * fragmented address space. If you get an {@link IOException} about mapping failed, it is * recommended to reduce the chunk size, until it works. * + * <p><b>NOTE</b>: On some platforms like Linux, mmap comes with a higher readahead than regular + * read() operations, e.g. 128kB for mmap reads and 16kB for regular reads. Such a high default Review Comment: Can you point to place in the kernel where this is happening? -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org