This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author robbuckley
Recipients crwilcox, giampaolo.rodola, paul.moore, pitrou, robbuckley, steve.dower, tim.golden, tzickel, vstinner, zach.ware
Date 2017-12-01.09:43:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512121414.31.0.213398074469.issue30581@psf.upfronthosting.co.za>
In-reply-to
Content
hi, 
as the reporter i just want to say this is working for me with 3.6.3. 

Regarding https://bugs.python.org/issue30581#msg301150, I take your point that a lot of multiprocessing using the standard libraries may not benefit, as processes may be restricted to the processor group of the parent process (python). 

For my use case it works well: I launch a queue of blocking jobs, using a thread pool. Each thread launches 1 jobsubprocess.subprocess.run(), where the thread pool size is equal to number of processors reported by os.cpu_count(). Since the OS controls the scheduling in this case, it works perfectly well with 2 processor groups. 

thanks :-)
History
Date User Action Args
2017-12-01 09:43:34robbuckleysetrecipients: + robbuckley, paul.moore, pitrou, vstinner, giampaolo.rodola, tim.golden, zach.ware, steve.dower, tzickel, crwilcox
2017-12-01 09:43:34robbuckleysetmessageid: <1512121414.31.0.213398074469.issue30581@psf.upfronthosting.co.za>
2017-12-01 09:43:34robbuckleylinkissue30581 messages
2017-12-01 09:43:34robbuckleycreate