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

Expose tcmalloc runtime configuration options through setParameter mechanism

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.8.0-rc5
    • Internal Code
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: