Join GitHub today
Add tcmalloc support to the tikv_alloc crate #4191
Today we use the jemalloc allocator, with a stock configuration, encapsulated in the
This will require adjusting the tikv_alloc features, because they aren't quite right currently: remove the "no-jemalloc" feature, so that disabling jemalloc means setting
Also remove the
I think the above two paragraphs make sense and will work, but I'm not sure.
Then add tcmalloc to tikv_alloc as an optional crate, so that enabling it requires
Even if tcmalloc doesn't improve performance compared to jemalloc, I'm inclined to check in the feature anyway, to establish the patterns for