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

Improve tcmalloc freelist statistics

    XMLWordPrintable

    Details

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

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: