Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
danlark
· 7y ago · 0 comments
We tried mimalloc in ClickHouse and it is two times slower than jemalloc in our common use case
https://github.com/microsoft/mimalloc/issues/11
Comments
[–]
MaxBarraclough
7y ago
To be clear, your program ran at half speed, right? That's far worse than doubling the time spent in memory-management functions.
[–]
danlark
OP
7y ago
Yes, our program ran at half speed.
[–]
vinay_ys
7y ago
It is quite bad if changing the allocator made your program run at half speed. It doesn't matter if the library itself consumed more CPU or caused more wait (guessing that's the case here) due to concurrency or excessive syscalls.
[–]
danlark
OP
7y ago
The developer helped us a lot to improve the speed and now it is almost at the same level as jemalloc for us