-
Type:
Task
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
There are cases where WiredTiger will maintain many pages in cache for a clean tree. Those pages may contain empty update and modify structures.
It would be good if we could have a "maintenance" mode for eviction (or possibly the sweep server) that looks for such pages, even when the cache isn't full, and rewrites the in-memory version to be clean.
The motivation for the change is that there is overhead in memory allocators. WiredTiger tends to allocate many small chunks of memory. With a large cache (10s of GB), the time to free those structures (even if there is nothing to reconcile) can be high.
Related to MongoDB JIRA issue SERVER-17907