we actually ended up with (new) tcmalloc.
for us, tc was among the fastest in runtime while being very space efficient [0]. large rust application using far too many threads.
we’ve since also had great success with tc’s built in profiling tools.
for us, tc was among the fastest in runtime while being very space efficient [0]. large rust application using far too many threads.
we’ve since also had great success with tc’s built in profiling tools.
We've tried tcmalloc, too. I don't remember the exact details, but we basically ended using jemalloc because it was using way less memory.
Same story with mimalloc - it usually provided a tiny bit more speed, but required more cpu and memory.
to confirm, you were using tcmalloc from https://github.com/google/tcmalloc and not from https://github.com/gperftools/gperftools, right?
the latter is a lot worse iiuc.
[0]: https://github.com/google/tcmalloc/blob/master/docs/gperftoo...