[SERVER-23069] Improve tcmalloc freelist statistics Created: 10/Mar/16 Updated: 20/Nov/16 Resolved: 25/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 3.3.2 |
| Fix Version/s: | 3.2.9, 3.3.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kyle Suarez | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Completed: | |||||||||||||||||
| Sprint: | Integration 11 (03/14/16), Integration 12 (04/04/16) | ||||||||||||||||
| Participants: | |||||||||||||||||
| 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 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 |
| Comments |
| Comment by Githook User [ 18/Jul/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}Message: Walks the size classes in TCMalloc's central freelist, exposing interesting serverStatus() now includes this information in lieu of the TCMalloc dump stats (cherry picked from commit a1d9d2251734bc4077255ae33e17f5a210697839) |
| Comment by Githook User [ 25/Mar/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}Message: Walks the size classes in TCMalloc's central freelist, exposing interesting serverStatus() now includes this information in lieu of the TCMalloc dump stats |
| Comment by Githook User [ 25/Mar/16 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}Message: Walks the size classes in TCMalloc's central freelist, exposing interesting serverStatus() now includes this information in lieu of the TCMalloc dump stats |
| Comment by Kyle Suarez [ 24/Mar/16 ] |
|
Pull request upstream to gperftools: https://github.com/gperftools/gperftools/pull/785 |