[llvm-dev] LLD: time to enable --threads by default

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 17 01:49:37 PST 2016


On 17 November 2016 at 03:20, Rui Ueyama via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Here is the result of running 20 threads on 20 physical cores (40 virtual
> cores).
>
>       19002.081139 task-clock (msec)         #    2.147 CPUs utilized
>       12738.416627 task-clock (msec)         #    1.000 CPUs utilized

Sounds like threading isn't beneficial much beyond the second CPU...
Maybe blindly creating one thread per core isn't the best plan...

--renato


More information about the llvm-dev mailing list