[PATCH] D73010: [llvm-lto2] By default, use two threads for ThinLTO backend.

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 00:16:41 PST 2020


evgeny777 added a comment.

Honestly, this looks weird  (why 2 threads not 1 for example)? Also for anyone running lto on multicore machine results would be surprising at the very least.

What's the value of `cat /proc/sys/kernel/threads-max` on build bot? On my machine it is ~84K, which seems enough even for lit/lto being run on 64 cores.
Also where exactly are you getting EAGAIN (sys call, library call)? You can try getting libstdc++.so.6 from build bot and disassembling it on reported offset.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73010





More information about the llvm-commits mailing list