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

Improve tcmalloc freelist statistics

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.9, 3.3.4
    • Affects Version/s: 3.3.2
    • Component/s: Diagnostics
    • Fully Compatible
    • Integration 11 (03/14/16), Integration 12 (04/04/16)

      TCMalloc doesn't give detailed statistics on the state of the freelist, which makes it difficult to analyze severe memory fragmentations like those in SERVER-22906 or SERVER-20306.

      Improve the TCMalloc serverStatus() output by traversing the freelists for the different size classes, giving us more information. Add a new function in TCMalloc that exposes these statistics efficiently, allowing us to create a BSON object out of them rather than returning a text blob that cannot be parsed.

      See also: https://github.com/gperftools/gperftools/issues/727

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

              Created:
              Updated:
              Resolved: