diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-04-02 17:19:29 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-04-04 12:02:20 +0200 |
commit | a82d2a83e87eee8bb4e0025582bc4afed1a9b332 (patch) | |
tree | a53ed737038a0f27c96494e76338c90473756b9f /README.md | |
parent | 231b991edcf3853486e613c8c6fad0981a4af272 (diff) | |
download | bootstrappable-toolchain-a82d2a83e87eee8bb4e0025582bc4afed1a9b332.tar.gz |
musl-gcc: Ship mimalloc.o with musl GCCs
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -198,6 +198,14 @@ Example configuration for bootstrapping on NixOS (hashes may vary): } ~~~ +## Musl Performance Issues + +Musl has huge allocator contention issues with multithreading. For that reason, +all our `musl` compilers are shipped with the alternative allocator +[mimalloc](https://github.com/microsoft/mimalloc) that solves these issues. If +you notice any performance slowdowns with your Musl-linked binaries, consider +using the alternative allocator by appending `-l:mimalloc.o` to your `LDFLAGS`. + ## License All files are copyright Huawei Cloud Computing Technology Co., Ltd., license |