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

Add tunability to tcmalloc serverStatus detail

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.9, 3.3.8
    • Affects Version/s: 3.3.3
    • Component/s: Diagnostics
    • Fully Compatible
    • Integrate+Tuning 15 (06/03/16)

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

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

              Created:
              Updated:
              Resolved: