Improve get optimal count of max_worker for pool
Bug #1739034 reported by
Chenjun Shen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
futurist |
Fix Released
|
Undecided
|
Chenjun Shen |
Bug Description
In the upstream of futures library, the DEFAULT value max_worker for ThreadPoolExecutor and ProcessPoolExecutor has been changed to:
ThreadPoolExecutor
max_worker = cpu_count() * 5
Reference:
https:/
ProcessPoolExecutor
max_worker = cpu_count()
Reference:
https:/
So we should do it as well.
description: | updated |
Changed in futurist: | |
assignee: | nobody → Chenjun Shen (cshen) |
Changed in futurist: | |
status: | New → In Progress |
To post a comment you must log in.
Patch is here.
https:/ /review. openstack. org/#/c/ 529082/