Message298901
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.). |
|
Date |
User |
Action |
Args |
2017-07-23 12:22:53 | pitrou | set | recipients:
+ pitrou, jnoller, neologix, sbt, Satrajit Ghosh |
2017-07-23 12:22:53 | pitrou | set | messageid: <1500812573.17.0.997566748556.issue26692@psf.upfronthosting.co.za> |
2017-07-23 12:22:53 | pitrou | link | issue26692 messages |
2017-07-23 12:22:53 | pitrou | create | |
|