[issue26274] Add CPU affinity to perf.py

STINNER Victor report at bugs.python.org
Wed Feb 3 08:47:53 EST 2016


STINNER Victor added the comment:

Hum, I modified your change:

* only display a warning if the option is used but taskset doesn't work
* remove check on Linux: taskset might be available on other platforms, it doesn't really matter to check the OS, we already check if the command works
* try to run "taskset --cpu-list 0 python -c pass" instead of "taskset -V" to check if taskset works or not

What do you think?

----------
Added file: http://bugs.python.org/file41793/affinity_warning.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26274>
_______________________________________


More information about the Python-bugs-list mailing list