[SERVER-39460] Bring our tcmalloc page and slab size adjustments into gperftools-2.7 Created: 08/Feb/19  Updated: 29/Oct/23  Resolved: 22/Mar/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.10

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-02-11, Dev Tools 2019-02-25, Dev Tools 2019-03-11, Dev Tools 2019-03-25
Participants:

 Description   

[https://github.com/mongodb/mongo/commit/99436618a0fe429ae5519b02e13f0b22cac5eba1

 """Halve tcmalloc page size and the size of the smaller slabs - this (worst case) should halve fragmentation for those sizes. Moving the page size down helps with fitting for slab sizes like 20k. No measurable perf impact on our microbenchmark suite, though it's definitely going to hit the system allocator more. Drop size classes for things above 16K. They're not of much use as they're all 1 object per slab (though they could be held in the thread cache)."""

 



 Comments   
Comment by Billy Donahue [ 25/Feb/19 ]

Reviewing on GitHub per the "Issue Links"

Generated at Thu Feb 08 04:52:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.