jainankitk commented on issue #14348:
URL: https://github.com/apache/lucene/issues/14348#issuecomment-2730902349

   > Lucene currently uses ReadAdvice.RANDOM when opening these files. I think 
it would be better to use RANDOM_PRELOAD.
   
   As per the documentation for RANDOM_PRELOAD:
   
    _This should only be used on very small files that can be expected to fit 
in RAM with very high confidence._
   
   Hence, I am wondering if it can have adverse impact for cases having small 
page cache. While https://github.com/apache/lucene/pull/13264 adds way to 
configure ReadAdvice, that applies to all file formats I guess. It would be 
great, if users can tune the ReadAdvice for specific formats, depending on the 
server page cache and data size.


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