[PATCH] D47977: [Fuzzer] First step to thread affinity

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 9 03:18:06 PDT 2018


dvyukov added a comment.

> True ideally what I tried to say in the description is ideally the cpu load ought to be checked first but that s a lot of code :-)

No, you can't solve this by checking CPU load. Load, affinity, set of other processes and their affinity changes dynamically. And this can't be solved by periodic re-tuning either, because re-tuning logic of other processes is unknown. Only OS has the information and means to do this properly and efficiently.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47977





More information about the llvm-commits mailing list