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

Expose tcmalloc_release_rate via setParameter

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Sprint:
      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

              • Votes:
                1 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: