News for hackers. Stuff that matters.
Re:Mimalloc – A compact general-purpose allocator by danlark on Saturday June 22, 2019 @04:39PM (#20251614)
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
Re:Mimalloc – A compact general-purpose allocator by MaxBarraclough on Saturday June 22, 2019 @05:31PM (#20251821)
To be clear, your program ran at half speed, right? That's far worse than doubling the time spent in memory-management functions.
Re:Mimalloc – A compact general-purpose allocator by danlark on Saturday June 22, 2019 @06:03PM (#20251951)
Yes, our program ran at half speed.
Re:Mimalloc – A compact general-purpose allocator by vinay_ys on Sunday June 23, 2019 @01:23AM (#20253449)
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.
Re:Mimalloc – A compact general-purpose allocator by danlark on Friday June 28, 2019 @01:38PM (#20306843)
The developer helped us a lot to improve the speed and now it is almost at the same level as jemalloc for us