pool = mp.Pool(2)
jobs = [() for i in range(8)]
for i in range(5):
    timei = time.time()
pool.map(somethinglong, jobs, chunksize=1)
print(time.time() - timei)
Inefficient multiprocessing of numpy-based calculations