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

Add tunability to tcmalloc serverStatus detail

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.2.9, 3.3.8
    • Component/s: Diagnostics
    • Labels:

      Description

      After SERVER-23069, the size of the TCMalloc section in serverStatus has grown substantially with the addition of per-size class statistics (roughly 10-11 kB). This negatively affects FTDC data retention.

      It would be nice to be able to tune the level of detail with which we get TCMalloc statistics; for example,

      • tcmalloc: 1 returns the original level of detail prior to SERVER-23069 without size class information;
      • tcmalloc: 2 includes additional size class information;
      • tcmalloc: 3 includes the TCMalloc `DumpStats` text blob;

      and so on. (This behavior would also be backwards-compatible for people already specifying tcmalloc: 1 to serverStatus.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kyle.suarez Kyle Suarez
              Reporter:
              kyle.suarez Kyle Suarez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: