Both multiprocessing.map and joblib use only 1 cpu after upgrade from Ubuntu 10.10 to 12.04
问题 I had some perfectly working python code which used multiprocessing module and loaded all 8 CPUs on my machine at 100%. After I upgraded from Ubuntu 10.10 to 12.04 (the most evident thing, maybe I did something else that broke everything), it stopped working. After lots of debugging, I found that even in the simplest use case, both modules are only using 1 CPU: from pylab import * import multiprocessing as mp from joblib import Parallel, delayed def f(i): # Slow calculation x = 1 for j in