jpountz commented on issue #13551: URL: https://github.com/apache/lucene/issues/13551#issuecomment-2214541782
It wouldn't solve the issue, only mitigate it, but hopefully cold start performance gets better when we start leveraging `IndexInput#prefetch` to load multiple vectors from disk concurrently (https://github.com/apache/lucene/issues/13179). > The Linux kernel's less aggressive default readahead for memory-mapped IO vs traditional NIO FWIW, it's not that the read-ahead is less agressive for mmap than traditional I/O, it's that since recently `MMapDirectory` explicitly tells the OS to not perform readahead for vectors by passing `MADV_RANDOM` to `madvise`. -- 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