This is an archive of the discontinued LLVM Phabricator instance.

Set affinity to none/false in child processes
ClosedPublic

Authored by jlpeyton on Jun 13 2017, 10:24 AM.

Details

Summary

Reset affinity to none (false for proc-bind-var) so that threads in the child
processes are not bound tightly, unless the user explicitly sets this in
KMP_AFFINITY/OMP_PROC_BIND, in child processes. This can improve
performance for scripting languages which fork for parallelism like Python's
multiprocessing module.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton created this revision.Jun 13 2017, 10:24 AM
This revision is now accepted and ready to land.Jun 13 2017, 10:33 AM
This revision was automatically updated to reflect the committed changes.