Using more worker processes than there are cores
问题 This example from PYMOTW gives an example of using multiprocessing.Pool() where the processes argument (number of worker processes) passed is twice the number of cores on the machine. pool_size = multiprocessing.cpu_count() * 2 (The class will otherwise default to just cpu_count() .) Is there any validity to this? What is the effect of creating more workers than there are cores? Is there ever a case to be made for doing this, or will it perhaps impose additional overhead in the wrong