[Bug 281765] llvm - ThinLTO never uses more than a single thread by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Oct 2024 08:39:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281765 Dimitry Andric <dim@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjg@FreeBSD.org --- Comment #2 from Dimitry Andric <dim@FreeBSD.org> --- This is due to src 04bab189b8a54974fcd9530140e4eed6ad137f48, which was originally submitted by mjg. The reason for this was that lld was using way too many threads on many-core machines: nowadays just creating "hw.ncpu" threads is no longer a good default. That said, now that lld also has a limiter in place, we might want to drop this patch, which is not really in the right spot, e.g. the general llvm support library in contrib/llvm-project/llvm/lib/Support/Threading.cpp. -- You are receiving this mail because: You are the assignee for the bug.