in reply to Re^2: No Performance gain with Parallel::ForkManager
in thread No Performance gain with Parallel::ForkManager

Thanks for your example!

Adding an extra loop for the no of cores brought an speed improvement of the parallel execution of 100%.

Time parallel execution
real 0m0.312s, user 0m0.304s, sys 0m0.052s
Time serial exection
real 0m0.324s, user 0m0.272s, sys 0m0.031s

That's approx 4% overall gain.
  • Comment on Re^3: No Performance gain with Parallel::ForkManager