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: [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]