Author pitrou
Recipients Satrajit Ghosh, jnoller, neologix, pitrou, sbt
Date 2017-07-23.12:22:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500812573.17.0.997566748556.issue26692@psf.upfronthosting.co.za>
In-reply-to
Content
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.).
History
Date User Action Args
2017-07-23 12:22:53pitrousetrecipients: + pitrou, jnoller, neologix, sbt, Satrajit Ghosh
2017-07-23 12:22:53pitrousetmessageid: <1500812573.17.0.997566748556.issue26692@psf.upfronthosting.co.za>
2017-07-23 12:22:53pitroulinkissue26692 messages
2017-07-23 12:22:53pitroucreate