I run a parfor loop on an 8 cores workstation.
This loop is parfor i = 1:10 and the work in each iteration is substantial.
MATLAB automatically creates 8 workers.
Assuming that each iteration takes about the same time to complete, is this highly inefficient? I'm thinking that the 8 cores finish at about the same time, and then only 2 are assigned to the remaining 2 iterations.
Then again, I don't really understand the idea of parallel pools. How would I optimise the size?
Best Answer