[lld] r287042 - Use one task per iteration in parallel_for_loop.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 15:01:43 PST 2016


I'm not really focusing on multi-thread performance now, but because the
degradation is too large, I'd like to revert it, and instead make the
build-id chunk size much smaller (1 KB, maybe?) to parallelize the task.

I believe this should be that slow. We need to improve our threading
library.

On Tue, Nov 15, 2016 at 2:57 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 15 November 2016 at 17:24, Rui Ueyama <ruiu at google.com> wrote:
> > Can you try to run your benchmark again without --build-id? For me, this
> > patch slows down the linker by about 30% with --threads and without
> > --build-id.
>
> Sigh, yes, it goes from 6.316669764 to 7.173495002. No threads is
> 6.962417327.
>
> Do you want to revert or we track which parallel for loop needs a
> bigger granularity?
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161115/1a7306a8/attachment.html>


More information about the llvm-commits mailing list