Antoine Pitrou added the comment:

Agreed that it is not possible for multiprocessing to choose an optimal default 
in all settings.  However, making the default adequate for more use cases 
sounds like a reasonable goal.

Currently, we are using `os.cpu_count()`. Ideally, we would have a second API 
`os.usable_cpu_count()` that would return the number of logical CPUs usable by 
the current process (taking into account affinity settings, cgroups, etc.).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26692>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to