-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
SERVER-16551 and SERVER-16517 both indicate that for many mongodb workloads, the default cap on the size of all per-thread caches imposed by tcmalloc is too low. We should raise the cap, and expose an option to allow the administrator to tune it at start-up and runtime.
Specifically, mongod should present the tcmalloc property tcmalloc.max_total_thread_cache_bytes via a tcmallocMaxTotalThreadCacheBytes argument to setParameter, and tcmalloc.aggressive_memory_decommit via tcmallocAggressiveMemoryDecommit.
- is duplicated by
-
SERVER-35046 Add parameter to set tcmalloc aggressive decommit
- Closed
- is related to
-
SERVER-42697 Expose tcmalloc_release_rate via setParameter
- Closed
- related to
-
SERVER-17105 Server fails to start under Valgrind: 'Failed to set tcmalloc.max_total_thread_cache_bytes'
- Closed