Python Global Interpreter Lock (GIL) workaround on multi-core systems using taskset on Linux?
Another solution is: http://docs.python.org/library/multiprocessing.html Note 1: This is not a limitation of the Python language, but of CPython implementation. Note 2: With regard to affinity, your OS shouldn’t have a problem doing that itself.