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

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 9 02:44:37 PDT 2018


krytarowski added a comment.

In https://reviews.llvm.org/D47977#1127236, @devnexen wrote:

> I understand your points, but usually see the jobs are often bound to cpu0 while this cpu can be potentially pretty busy.
>  But I put it as an option it s something not to be forced.


In general we are adding CPU/OS specific code, not sure whether it's worth the maintenance cost.

NetBSD uses similar but different API.. if it is really needed I would rather prompt for higher level 3rd party library.. but it might be overkill. Also reimplementing it opencoding might be overkill too.

If you want to bind fuzzing to cpu1, you can use userland cpu affinity tools to do it without changing the code.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47977





More information about the llvm-commits mailing list