in reply to Re^2: Parallelization of multiple nested loops
in thread Parallelization of multiple nested loops

There may be at most 6 processes running in parallel. But my numbers refer to the total number of processes created and destroyed during the complete computation.

My point is that starting and stopping processes have a non insignificant overhead. If you start too many the total cost of forking may be an important percentage of the total cost of the computation.

  • Comment on Re^3: Parallelization of multiple nested loops

Replies are listed 'Best First'.
Re^4: Parallelization of multiple nested loops
by hippo (Archbishop) on Feb 07, 2018 at 11:26 UTC

    Quite. If my reading of biosub's code (and my maths) is correct it forks 6^12 times (2,176,782,336 times). That's a tonne of overhead.