From: Martin Pieuchot Subject: Re: timing lld --threads for fun and profit To: Landry Breuil , robert@openbsd.org Cc: tech@openbsd.org Date: Fri, 8 Nov 2024 13:26:00 +0100 On 08/11/24(Fri) 12:22, Landry Breuil wrote: > [...] > someone(tm) should look into patching lld to avoid using more than > MAX(ncpu,5) threads ? In the meantime, i'll probably fix the firefox > ports to avoir using MAKE_JOBS for lld but cap it at 5. Recent lld(1) include the following commits which limit the value to 16 by default instead of the number of available CPUs. See the following commits: https://github.com/llvm/llvm-project/commit/a8788de1c3f3c8c3a591bd3aae2acee1b43b229a https://github.com/llvm/llvm-project/commit/da68d2164efcc1f5e57f090e2ae2219056b120a0 Robert do you see the same with chromium? Would it make sense to backport these diff with a smaller value for OpenBSD?