-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
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
- is related to
-
SERVER-22906 MongoD uses excessive memory over and above the WiredTiger cache size
- Closed
-
SERVER-20306 75% excess memory usage under WiredTiger during stress test
- Closed
- related to
-
SERVER-23594 Add option to specify TCMalloc statistics verbosity in FTDC
- Closed
- links to