-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Cache and Eviction, Statistics
-
Storage Engines
-
5
-
StorEng - 2025-04-11
See WT-13672 for additional context
Currently cache_state_gen_max_gap will only be reported when WiredTiger is configured with `statistics=cache_walk`, but this configuration is CPU intensive so we rarely enabled it.
We should also report this stat as part of the normal "fast" statistics. We should maintain the same computation of (evict->evict_pass_gen - page->evict_pass_gen), but fetch this value when the eviction server find the page and adds it the eviction queue. The stat should store the maximum value seen but occasionally rest the value to zero. See "maximum page size seen at eviction" for an existing example.
I'll leave it to the developer to determine if this should be a new stat, or if it replaces the existing cache_state_gen_max_gap stat which is gated behind cache_walk
- is related to
-
WT-14274 Add a new stat for how many times a page fails to be evicted before it is successfully evicted
-
- Open
-
-
WT-14275 Add a new stat for how many times a page couldn't be added to the eviction queue
-
- Open
-
- split from
-
WT-13672 Report per-page stats for why a page was not able to be evicted
-
- Closed
-