jorisvandenbossche commented on issue #38389:
URL: https://github.com/apache/arrow/issues/38389#issuecomment-1775014256

   > Is pyarrow using either one of `OMP_NUM_THREADS`, `MKL_NUM_THREADS`, 
`OPENBLAS_NUM_THREADS` to infer how large the threadpool is allowed to be?
   
   Yes, it seems we are using `OMP_NUM_THREADS` (and otherwise check 
`std::thread::hardware_concurrency()`, which I think also doesn't always give 
the correct number, eg in a container). 
   You can also manually override this with `pa.set_cpu_count()`.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to