[SERVER-39325] Add support for "allocator=jemalloc" Created: 01/Feb/19  Updated: 28/Aug/23

Status: Backlog
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Michael Cahill (Inactive) Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-33296 Excessive memory usage due to heap fr... Backlog
is related to SERVER-31839 Investigate JEMalloc Performance Vers... Closed
is related to SERVER-24268 Investigate jemalloc as alternative t... Closed
Assigned Teams:
Service Arch
Participants:

 Description   

For some MongoDB use cases, jemalloc has some advantages over tcmalloc.  In particular, some users have reported that performance is more predictable (avoiding some of the long stalls experienced with tcmalloc).

Please consider adding build-time support for jemalloc.



 Comments   
Comment by Alexey Milovidov [ 07/Jun/23 ]

For example, ClickHouse uses jemalloc as the only option.

You can find some performance comparisons here: https://github.com/ClickHouse/ClickHouse/pull/11590

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