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

   > Let the defaults be as smart as they need. Maybe check 
/sys/kernel/mm/lru_gen/enabled as part of the decision-making! But IMO let the 
user have the final say, in an easy way.
   
   ++, the normal path for users to override is to use the system property or 
to write a custom directory if they want the full control. We should remove the 
overrides in the vector search codec. We default to random anyway.
   
   > Maybe check /sys/kernel/mm/lru_gen/enabled as part of the decision-making! 
   
   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.


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