Expose tcmalloc_release_rate via setParameter

XMLWordPrintableJSON

    • Fully Compatible
    • v4.2, v4.0, v3.6
    • Performance 2019-12-02, Performance 2019-12-16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-16829 exposed tcmalloc_aggressive_decommit via the setParameter framework. This has turned out to be not very useful, as aggressive decommit comes with a huge performance penalty. (-75% in a small YCSB workload.)

      We recently found that tcmalloc_release_rate can be used to reduce memory overhead, with little or no performance overhead. We should add a setParameter knob to do this at runtime too.

      Relevant tcmalloc documentation

      Example:

      db.adminCommand({setParameter: 1, tcmallocReleaseRate: 10})
      

              Assignee:
              Henrik Ingo (Inactive)
              Reporter:
              Henrik Ingo (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: