Link libumem to clickhouse#22
Conversation
Clickhouse heavily contends the system allocator's global lock. Link it with `libumem` to mitigate this. Fixes oxidecomputer/omicron#7716
bnaecker
left a comment
There was a problem hiding this comment.
Seems fine to me! Just so I understand, this is not to let us swap out libc / umem / jemalloc, but to always pick up the umem-provided allocation symbols, is that right?
That's correct. The jemalloc clickhouse bundles doesn't build on Illumos, and given the performance difference with libc I didn't think we'd ever not want to use umem. |
|
I agree we probably want to always use |
Specifically the |
Clickhouse heavily contends the system allocator's global lock. Link it with
libumemto mitigate this.Fixes oxidecomputer/omicron#7716