Y
Hacker News
new
|
ask
|
show
|
jobs
by
danlark
2559 days ago
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
2 comments
MaxBarraclough
2559 days ago
To be clear, your program ran at half speed, right? That's far worse than doubling the time spent in memory-management functions.
link
danlark
2559 days ago
Yes, our program ran at half speed.
link
vinay_ys
2558 days 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.
link
danlark
2553 days ago
The developer helped us a lot to improve the speed and now it is almost at the same level as jemalloc for us
link