ChrisHegarty opened a new pull request, #13998:
URL: https://github.com/apache/lucene/pull/13998

   This commit adds `IndexInput::isLoaded` to help determine if the contents of 
an input is resident in physical memory.
   
   The intent of this new method is to help build inspection and diagnostic 
infrastructure on top. The initial requirement is to help understand if vector 
data and more specifically the HNSW graph are in memory. For search use cases, 
performance drops off significantly if, at least, the graph is not resident.  
This is not a perfect API, more of a hint, but along with read advice like 
MADV_WILLNEED may be used to determine perf issues searching vectors


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