Filter löschen
Filter löschen

Parellel computing toolbox speedup

3 Ansichten (letzte 30 Tage)
Brent
Brent am 24 Feb. 2012
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 Kommentare
Sarah Wait Zaranek
Sarah Wait Zaranek am 26 Mär. 2012
Did you make sure to open up a matlab pool?
Jan
Jan am 27 Mär. 2012
4 very good comments. Actually good enough to be votable answers.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Daniel Shub
Daniel Shub am 27 Mär. 2012
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.

Kategorien

Mehr zu MATLAB Parallel Server finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by