shubhamsrkdev opened a new issue, #15571:
URL: https://github.com/apache/lucene/issues/15571

   ### Description
   
   In the discussion in #14156 we found out:
   
   Lucene’s `MemorySegmentIndexInput` uses a counter 
(`consecutivePrefetchHitCount`) to avoid repeated calls to `isLoaded() `and 
`madviseWillNeed()`.
   
   However every slice() or clone() resets it. This means prefetch suppression 
never converges, causing repeated expensive checks on the same underlying 
memory.
   
   This issue tracks whether we should share the counter across slices/clones 
to make suppression effective.
   
   ### Version and environment details
   
   _No response_


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

Reply via email to