[PATCH] D75153: [ThinLTO] Allow usage of all SMT threads in the system

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 12:17:42 PDT 2020


phosek added a comment.

In D75153#1987272 <https://reviews.llvm.org/D75153#1987272>, @phosek wrote:

> We've started seeing `llvm-cov` on our Linux bots with this error:
>
>   terminating with uncaught exception of type std::__2::system_error: thread constructor failed: Resource temporarily unavailable
>
>
> Specifically, we're running `llvm export` which uses `heavyweight_hardware_concurrency` (we use the default number of threads, i.e. `0`): https://github.com/llvm/llvm-project/blob/master/llvm/tools/llvm-cov/CoverageExporterJson.cpp#L169
>
> I'm not yet sure what's the problem, but bisecting is pointing at this change.


Also on runs that succeeded, we see the execution times more than doubled.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75153/new/

https://reviews.llvm.org/D75153





More information about the cfe-commits mailing list