jpountz commented on PR #13337:
URL: https://github.com/apache/lucene/pull/13337#issuecomment-2096902937

   > Can't we use the same filechannel and do a positional read in another 
thread (not async)?
   
   I gave it a try in the last commit, is this what you had in mind? The 
benchmark suggests that this still works well, slightly better than the 
previous approach, now on-par with `MMapDirectory`.
   
   ```
   Data does not fit in the page cache
     With prefetching:    P50=88us P90=124us
     Without prefetching: P50=223us P90=243us
   Data fits in the page cache
     With prefetching:    P50=1us P90=2us
     Without prefetching: P50=0us P90=0us
   ```


-- 
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

Reply via email to