|
tcmalloc is now the default allocator for MongoDB.
|
|
Curious to know why this was not looked into. Are there plans in the future?
|
|
not going to spend time looking into this based on eliot's thoughts
|
|
jemalloc could be worth a good look as well. It too might be somewhat inclined to move stuff around more than glibc if reallocing alot, but don't quote me on that.
|
|
eliot comments that this is probably going to be a bad solution for us in general since realloc calls in tcmalloc generally fail to return the same buffer more often than realloc calls in glibc malloc. we do a lot of reallocs, so that is important.
|
Generated at Thu Feb 08 02:53:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.