How to find the optimal number of workers for parfor
on Amazon's virtual machine?
For which cases I should use the number of the physical and for which the number of the logical cores?
Is there any "Rule of Thumb" for this?
I run a compiled code ( an executable code ).