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

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 17 09:19:19 PST 2016


I submitted r287237 to make -threads default. You can disable it with
-no-threads. Thanks!

On Thu, Nov 17, 2016 at 9:10 AM, Rui Ueyama <ruiu at google.com> wrote:

> On Thu, Nov 17, 2016 at 1:49 AM, Renato Golin <renato.golin at linaro.org>
> wrote:
>
>> 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...
>>
>
> That's an average. When it's at peak, it's using more than two cores.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161117/9047f4b4/attachment.html>


More information about the llvm-dev mailing list