pauldoo commented on PR #16145: URL: https://github.com/apache/lucene/pull/16145#issuecomment-6473897275
> It's too bad we don't have a low-overhead way to know that a given IO was blocked by major or minor page fault, way up in javaland. Then we could be more informed about when to re-test (call mincore) for cold pages. It's possible to subscribe to major page faults with `perf_event_open`. This gives you an event stream that comes complete with the faulting addresses. It would need some plumbing to get this up into Java of course, but it would let an application like Lucene switch policy based on events from the kernel rather than proactive probing. This is obviously out of scope for this PR. -- 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]
