Built-in Multithreading on multiple CPUs
Show older comments
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
on 30 Sep 2014
0 votes
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...
Categories
Find more on Performance and Memory 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!