[DOCS-13271] Investigate changes in SERVER-42697: Expose tcmalloc_release_rate via setParameter Created: 09/Dec/19  Updated: 13/Nov/23  Resolved: 17/Dec/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.3.3, 4.2.3, 3.6.18, 4.0.18, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-42697 Expose tcmalloc_release_rate via setP... Closed
Participants:
Days since reply: 4 years, 2 weeks, 2 days ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

Should be added to https://docs.mongodb.com/manual/reference/parameters/

Text from https://gperftools.github.io/gperftools/tcmalloc.html#runtime: "Rate at which tcmalloc releases unused memory to the system. Zero means it never release memory back to the system. Increase this flag to return memory faster; decrease it to return memory slower. Reasonable rates are in the range [0.0,10.0]. "

(Default is 1)

Description of Linked Ticket

SERVER-16829 exposed tcmalloc_aggressive_decommit via the setParameter framework. This has turned out to be not very useful, as aggressive decommit comes with a huge performance penalty. (-75% in a small YCSB workload.)

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

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 28/Jan/20 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'Kay Kim', 'username': 'kay-kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: v3.6
https://github.com/mongodb/docs/commit/684bf20e734292a25ff8a01e803bce9fdd9a1b20

Comment by Githook User [ 28/Jan/20 ]

Author:

{'email': 'kay.kim@10gen.com', 'username': 'kay-kim', 'name': 'Kay Kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: v3.6.17
https://github.com/mongodb/docs/commit/fa6401bcd83c19849a6bd497c82fa3925dced459

Comment by Githook User [ 18/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: v4.0
https://github.com/mongodb/docs/commit/5a186bd9490049821ddbd8866881a1878bd2bf75

Comment by Githook User [ 17/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: master
https://github.com/mongodb/docs/commit/703418c3d7c3f8a5938368be6dfb4fcb2d3fe190

Comment by Githook User [ 17/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: v3.6.17
https://github.com/mongodb/docs/commit/53148c0226ce44605f84ffdc1d13d34bbb80031b

Comment by Githook User [ 17/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: v4.0.14
https://github.com/mongodb/docs/commit/01750eddabe2ed5596ca2c3facaede490de80506

Comment by Githook User [ 17/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13271: tcmallocreleaserate parameter
Branch: v4.2.3
https://github.com/mongodb/docs/commit/79be5f8af415454e67332c3f5c342efcab7e42ea

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