Answer the question
In order to leave comments, you need to log in
Does it make sense to use Pool on a single core processor?
Tell me, does it make sense to use multiprocessing.pool on a virtual machine with 1 CPU core? On my 4th core process, I exposed map(4) and map(40) there is a difference. Although they write that it is more optimal to use the number of "processes" = the number of cores.
Answer the question
In order to leave comments, you need to log in
It only makes sense if each thread consumes almost no resources and you want to utilize the entire CPU
Does it make sense to use Pool on a single core processor?Yes, processes can be added until the CPU consumes less than 100% (or until it hits io / network / disk)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question