Under heavy multithreaded contention to the allocator you an see very large performance penalties, for example in this (quite unrealistic) test case: Performance penalty from the Static Linux SDK. In that post I ran on a 16 core machine, but when I ran a real simulation on a 128 core machine, the performance difference was even larger. I think for small container apps the Musl default allocator is just fine but being able to switch from it to another one would be great.
1 Like