srowen commented on issue #25545: [SPARK-28843][PYTHON] Set OMP_NUM_THREADS to executor cores for python URL: https://github.com/apache/spark/pull/25545#issuecomment-525988301 Release notes are added to the JIRA now. Yes you're right about the number of threads. It's OMP_NUM_THREADS for each process, and there is a Python process per task, and that is the problem: a lot more threads than cores. My only suggested modification to the comment is to clarify that numpy is just one example of a library using OpenMP, and that it could affect others, albeit numpy is the main example.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
