[PATCH] D147493: [ELF] Cap parallel::strategy to 8 cores when --threads= is unspecified
Mateusz Guzik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 10:15:18 PDT 2023
mjguzik added a comment.
Thanks for the results. Does not look like the win is necessarily there, and even if so, it is unclear if it is justified by the computing power thrown at it.
That is to say, can you redo these while collecting cycle counts?
I don't know how to do it on Windows in a general manner. If you have an Intel CPU you can use https://github.com/intel/pcm , AMD has a similar tool somewhere. Running pcm-core should do it.
See my opening comment in https://discourse.llvm.org/t/avoidable-overhead-from-threading-by-default/69160 for an example collected on Linux.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147493/new/
https://reviews.llvm.org/D147493
More information about the llvm-commits
mailing list