[New-bugs-announce] [issue26692] cgroups support in multiprocessing
report at bugs.python.org
Mon Apr 4 20:46:11 EDT 2016
New submission from Satrajit Ghosh:
multiprocessing cpucount returns the number of cpus on the system as returned by /proc/cpuinfo.
this is true even on machines where linux kernel cgroups is being used to restrict cpu usage for a given process. this results in significant thread swithcing on systems with many cores.
some ideas have been implemented in the following repos to handle cgroups:
it would be nice if multiprocessing was a little more intelligent and queried process characteristics.
components: Library (Lib)
nosy: Satrajit Ghosh
title: cgroups support in multiprocessing
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce