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

Improve tcmalloc freelist statistics

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.2
    • 3.2.9, 3.3.4
    • Diagnostics
    • Fully Compatible
    • Integration 11 (03/14/16), Integration 12 (04/04/16)

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: