From: Mark Kettenis Subject: Re: timing lld --threads for fun and profit To: Martin Pieuchot Cc: landry@openbsd.org, robert@openbsd.org, tech@openbsd.org Date: Fri, 08 Nov 2024 13:42:52 +0100 > Date: Fri, 8 Nov 2024 13:26:00 +0100 > From: Martin Pieuchot > > 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? Looks like that is part of llvm 17 already? So the pending update would give us that code (and then we can tweak it if necessary).