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

Expose tcmalloc runtime configuration options through setParameter mechanism

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc5
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      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

              Assignee:
              schwerin Andy Schwerin
              Reporter:
              schwerin Andy Schwerin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: