Re:SuperMalloc: A Super Fast Multithreaded Malloc for 64-bit...
by scott_s on Monday December 21, 2015 @03:49PM
(#10773411)
Interesting - I had noticed the omission, but I had assumed that meant that jemalloc had emerged as the agreed-upon allocator best for production. Are you aware of any recent published experiments with the two?
[ Parent
| on HN ]
Re:SuperMalloc: A Super Fast Multithreaded Malloc for 64-bit...
by thrownaway2424 on Monday December 21, 2015 @04:18PM
(#10773590)
I'm not aware of any serious published works. Really the only way to choose an allocator is to try them all on your benchmark workload. Any other benchmarks are likely to be irrelevant.
I think tcmalloc vs. jemalloc is basically a wash. One is written by google people and the other is written by facebook people. Facebook is much more forward about their open source project than is Google, so more people have heard of jemalloc.
Re:SuperMalloc: A Super Fast Multithreaded Malloc for 64-bit...
by stass on Monday December 21, 2015 @05:35PM
(#10774062)
jemalloc is unaffiliated with FB. It was developed and integrated into FreeBSD and Firefox long before the author started working for Facebook.
Re:SuperMalloc: A Super Fast Multithreaded Malloc for 64-bit...
by thrownaway2424 on Monday December 21, 2015 @07:57PM
(#10774851)
What I meant about facebook's advocacy is that they have published lots of high profile blogs and whatnot about applications of jemalloc which have contributed greatly to its renown relative to tcmalloc, and I think it's fair to say that jemalloc versions 2, 3, and 4 have been largely underwritten by the Big Thumb.
And the other side of what I was trying to say is that for Google it's largely an issue of personality. tcmalloc is Google's malloc. JE works for Facebook. If JE worked at Google I'm sure Google would just use jemalloc.