Built-in Multithreading on multiple CPUs
显示 更早的评论
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
回答(1 个)
Sean de Wolski
2014-9-30
0 个投票
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...
类别
在 帮助中心 和 File Exchange 中查找有关 Profile and Improve Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!