필터 지우기
필터 지우기

about the parfor

조회 수: 1 (최근 30일)
Xiaochun
Xiaochun 2011년 12월 28일
hi,
I am trying test parfor speedup using my code:
parfor n=1:100
npix{n}=zeros(1,10000);
projection{n}=cell(1,10000);
for m=1:10000
[npix{n}(m),projection{n}{m}]=test(PSys,PDet,PAttMap);
end
end
%%%%%%%%%%%%%%%%%
but the speedup is not very good. I think that maybe it is due to the large data to tranfer, because varible, PSys, PDet are very larger array. I wonder how the data is tranfered? are those variable tranfered from client to nodes each time when they are used, or they are copied to nodes only one time for the parloop?
Thank you very much.
Michael

채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 28일
  댓글 수: 1
Xiaochun
Xiaochun 2011년 12월 29일
Thank you very much. I am trying to use the code and really hope it can help me.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by