Linking clang 21 with lld/mold/wild at 1-16 threads on Intel Core i7-14700K (8P+12E cores). Built around Sep 12

mold & wild lose ~30-40% when 2 threads share one P-core's SMT pair vs 2 distinct cores - real parallel linkers. ld.lld shows zero SMT sensitivity.
2
1
17
1,830
Replying to @HaskRay
Linking chrome-release (--gc-sections --export-dynamic, no ICF) with lld/mold/wild
1
0
2
541
Replying to @HaskRay
Output in tmpfs. --no-fork.

mold: use system libmimalloc.so.3.5 --no-fork
lld: LLVM_ENABLE_PIC=off, CMAKE_EXE_LINKER_FLAGS=-lmimalloc

Ensured there is no fallocate / transparent-huge-pages cheat.

Sep 20, 2026 · 2:35 AM UTC

0
0
1
340
RepliesRelevant