1
$\begingroup$

I have to call FindMinimum function n times on my data.

But when I put it in ParallelDo loop it works slower than in casual Do loop.

I wonder what might be the case (in the loop there are no other time-consuming functions).

I have 8-core CPU so I thought that ParallelDo should calculate things much faster.

EDIT: I noticed that finest grained is calculating way slower than Automatic. So for now somehow Do > ParallelDo(automatic) > ParallelDo[finest grained] but I don't understand why :(

$\endgroup$
1