rmuir commented on issue #14408:
URL: https://github.com/apache/lucene/issues/14408#issuecomment-2755662166

   > The Linux change targets both MGLRU and normal LRU. The impact is more 
pronounced in MGLRU, as page reclamation is more aggressive there. However, the 
semantic change for this advice is the same in both cases. In the latest 
kernels, using `MADV_RANDOM` does not mark the page as accessed, regardless of 
whether MGLRU is in use. That's a big shift of semantic for our default read 
advice.
   
   Easy argument to change the default to `NORMAL`.
   
   Another idea here, would be to add something like a `ReadAdviceDirectory` 
that makes use of `FilterDirectory` to let the user configure these things 
without using a system property. It would be nice if they could specify to 
PRELOAD *.vec files, or RANDOM *.fdt files, if they are interested in tweaking 
performance. Then maybe it is ok for defaults to be NORMAL (simple) ?


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