Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16829

Expose tcmalloc runtime configuration options through setParameter mechanism

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc5
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      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.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: