pauldoo commented on PR #16145: URL: https://github.com/apache/lucene/pull/16145#issuecomment-6494693309
> However, as @pauldoo suggests, maybe tracking major page fault metrics at a system level could give us a sufficient hint to probe sooner? We could centralize the perf_event_open tracking (or possibly getrusage) and then prefetch callers could probe based on those metrics. A system with a lot of merge and indexing activity likely probes more, but perhaps it is correct enough. `perf_event_open` gives you the option of a much finer granularity. You can subscribe to the individual major fault events, or a sample of them. These come with the virtual address that caused the fault, which you can map back to the specific file mapping. -- 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]
