Maximum number of workers in a parallel loop (local cluster) with Matlab R2014a?
조회 수: 5 (최근 30일)
이전 댓글 표시
채택된 답변
Friedrich
2014년 8월 26일
Hi,
댓글 수: 3
Friedrich
2014년 8월 26일
You can use more, but if you do its likely that it does not speed things up anymore because your system does not have any futher computational ressources.
Simply try it out. Run with 4 workers and do the same with 8 and see what happens.
Greg
2014년 10월 17일
Just wanted to add my modest experimental result
sz = 450;
A = rand(sz,sz,'single');
B = rand(sz,sz,'single');
tic;
parfor k = 1:sz^2
fft2(A.*B);
end
toc;
6 workers - 159 sec.
12 workers - 118 sec.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!