Skip to content

[FIX] utils/concurrent: Switch default thread pool#3138

Merged
thocevar merged 1 commit intobiolab:masterfrom
ales-erjavec:fixes/concurrent-stack-size
Jul 30, 2018
Merged

[FIX] utils/concurrent: Switch default thread pool#3138
thocevar merged 1 commit intobiolab:masterfrom
ales-erjavec:fixes/concurrent-stack-size

Conversation

@ales-erjavec
Copy link
Contributor

Issue

Fixes gh-3079, gh-3050

Description of changes

The default stack size of QThreadPool created threads is insufficient
to call OpenBLAS in common builds (see numpy issue 11551).

Includes
  • Code changes
  • Tests
  • Documentation

The default stack size of QThreadPool created threads on BSD or BSD
derived systems is insufficient to call OpenBLAS in common builds
(see numpy issue 11551).
@thocevar thocevar self-assigned this Jul 27, 2018
@thocevar
Copy link
Contributor

ThreadExecutor doesn't seem to fully utilize the CPU. Execution time is the same with 1 or 4 max_workers on a 4-core CPU (Windows 10). Are the threads assigned to the same core?

@ales-erjavec
Copy link
Contributor Author

Where? What task?

@thocevar thocevar removed their assignment Jul 30, 2018
@thocevar thocevar merged commit 213c3c8 into biolab:master Jul 30, 2018
@ales-erjavec ales-erjavec deleted the fixes/concurrent-stack-size branch September 12, 2018 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants