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

Expose tcmalloc_release_rate via setParameter

    XMLWordPrintableJSON

Details

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

    Description

      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})
      

      Attachments

        Issue Links

          Activity

            People

              henrik.ingo@mongodb.com Henrik Ingo (Inactive)
              henrik.ingo@mongodb.com Henrik Ingo (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: