Built-in Multithreading on multiple CPUs

3 views (last 30 days)
Florian
Florian on 30 Sep 2014
Commented: Florian on 30 Sep 2014
I am running code that maxes out CPU usages about 80% of the time over 4 cores. Because I am not using the parrell computing toolbox, I assume this is due to the use of multithreading. If I understand correctly some linear algebra function support multithreading and I am using those quite a lot.
My question is if Matlab's built-in multithreading can take advantage of multiple CPUs in one system? Would performance on a two CPU quad core system improve? Or is their a limit to what can be achieved with multihreading.
Best, Florian

Answers (1)

Sean de Wolski
Sean de Wolski on 30 Sep 2014
Some of the libraries that MATLAB uses such as Lapack, fftw and IPP have builtin multithreading.
As for a speed-up, your mileage will vary...
  1 Comment
Florian
Florian on 30 Sep 2014
So does Matlab allow for multithreading over more than one CPU?

Sign in to comment.

Categories

Find more on Code Generation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!