[issue26274] Add CPU affinity to perf.py
Florin Papa
report at bugs.python.org
Wed Feb 3 08:10:10 EST 2016
Florin Papa added the comment:
I have updated the patch to throw an exception if the taskset command is not available. Not checking that taskset works will generate an ambiguous error (if there is no taskset on the system) that does not explicitly point to the problem.
I believe that users working on performance have knowledge on the platform and OS setup they are using and they will draw benefit from this feature because it gives more accurate results.
----------
Added file: http://bugs.python.org/file41792/affinity_v3.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26274>
_______________________________________
More information about the Python-bugs-list
mailing list