[SERVER-42697] Expose tcmalloc_release_rate via setParameter Created: 08/Aug/19 Updated: 29/Oct/23 Resolved: 09/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.3, 4.3.3, 3.6.18, 4.0.18 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Henrik Ingo (Inactive) | Assignee: | Henrik Ingo (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||||||||||||||||||||||||||
| Sprint: | Performance 2019-12-02, Performance 2019-12-16 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
We recently found that tcmalloc_release_rate can be used to reduce memory overhead, with little or no performance overhead. We should add a setParameter knob to do this at runtime too. Relevant tcmalloc documentation Example:
|
| Comments |
| Comment by Eric Milkie [ 16/Mar/20 ] | |
|
Note, the backports to version 3.6 and 4.0 had a bug that made the parameter inaccessible. See | |
| Comment by Githook User [ 12/Dec/19 ] | |
|
Author: {'name': 'Henrik Ingo', 'email': 'henrik.ingo@mongodb.com', 'username': 'henrikingo'}Message: (Cherry picked from commit 97a3e24c6bb07ae3a108c0eeb1d00ba36332b7d6) | |
| Comment by Githook User [ 12/Dec/19 ] | |
|
Author: {'name': 'Henrik Ingo', 'email': 'henrik.ingo@mongodb.com', 'username': 'henrikingo'}Message: Backport:
(cherry picked from commit 0bb1dad9f205ccb2f4f4abffa7f3afc5baa36adf) | |
| Comment by Githook User [ 11/Dec/19 ] | |
|
Author: {'name': 'Henrik Ingo', 'email': 'henrik.ingo@mongodb.com', 'username': 'henrikingo'}Message: Backport:
| |
| Comment by Henrik Ingo (Inactive) [ 09/Dec/19 ] | |
|
Example:
| |
| Comment by Githook User [ 05/Dec/19 ] | |
|
Author: {'email': 'henrik.ingo@mongodb.com', 'name': 'Henrik Ingo', 'username': 'henrikingo'}Message: | |
| Comment by Daniel Pasette (Inactive) [ 29/Aug/19 ] | |
|
can this be backported to releases which have this parameter in the vendored tcmalloc? |