필터 지우기
필터 지우기

Parellel computing toolbox speedup

조회 수: 3 (최근 30일)
Brent
Brent 2012년 2월 24일
Hello, I've got some computationally intensive problems to solve so i downloaded the parallel computing toolbox but when testing, parfor loops take longer than for loops even in large loops (for loop takes 55secs while parfor takes 60secs). I would think these loops are big enough to overcome the overhead costs of palatalization. I'm running an iMac with an i7 quad core and 32 gb ram. I'm not using a cluster, i'm trying to utilize all of my cores. Is there some sort of configuration I need to change? Might it be intel's hyperthreading causing a problem? Any input would be appriciated
  댓글 수: 5
Sarah Wait Zaranek
Sarah Wait Zaranek 2012년 3월 26일
Did you make sure to open up a matlab pool?
Jan
Jan 2012년 3월 27일
4 very good comments. Actually good enough to be votable answers.

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

답변 (1개)

Daniel Shub
Daniel Shub 2012년 3월 27일
Not all problems can be sped up with parallel processing on a single computer. MATLAB automatically utilizes all cores for a number of its standard functions. If your processing is not processor limited, or if MATLAB is already using all your processing power, the PCT will not help.

카테고리

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