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 christian.heimes
Recipients Manjusaka, christian.heimes, galen, jab, matrixise, mcnelsonphd, methane, vstinner
Date 2020-03-23.21:28:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584998927.69.0.0857717657847.issue36054@roundup.psfhosted.org>
In-reply-to
Content
I suggest that your provide a low solution that returns general information from cgroup v1 and unified cgroup v2 rather than a solution that focuses on CPU only. Then you can provide a high level interface that returns effective CPU cores.

cgroup v2 (unified hierarchy) has been around for 6 years and slowly gains traction as container platforms start to support them.
History
Date User Action Args
2020-03-23 21:28:47christian.heimessetrecipients: + christian.heimes, vstinner, jab, methane, matrixise, Manjusaka, mcnelsonphd, galen
2020-03-23 21:28:47christian.heimessetmessageid: <1584998927.69.0.0857717657847.issue36054@roundup.psfhosted.org>
2020-03-23 21:28:47christian.heimeslinkissue36054 messages
2020-03-23 21:28:47christian.heimescreate