Expose tcmalloc runtime configuration options through setParameter mechanism

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc5
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Andy Schwerin
              Reporter:
              Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: