What is the maximum number of workers I can use with the 'Processes' or 'local' profile in the Parallel Computing Toolbox?
84 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2017 年 4 月 6 日
編集済み: MathWorks Support Team
2024 年 7 月 24 日
I have installed Parallel Computing Toolbox and wish to make use of all the processor cores on my computer. What is the maximum number of workers I can use with Parallel Computing Toolbox?
採用された回答
MathWorks Support Team
2024 年 7 月 24 日
編集済み: MathWorks Support Team
2024 年 7 月 24 日
All releases newer than R2014a can utilize up to 512 workers on a local machine through Parallel Computing Toolbox. Prior to R2013b, the maximum number of workers was 12.
By default Parallel Computing Toolbox will attempt to use a number of workers equal to the number physical cores of the computer.
Prior to R2023a if parpool('local') is called without a specific number of workers the Parallel Preferences will set a preferred number of workers in the pool. The default value for this is 12 workers or the number of workers set in the cluster profile (whichever is lower).
If you wish to use multiple computers to perform parallel and distributed job processing, MATLAB Parallel Server will be required to utilize computational resources of other machines.
See also: http://www.mathworks.com/matlabcentral/answers/2042101-how-can-i-increase-the-number-of-matlab-workers-inside-parallel-computing-toolbox-to-use-all-the-log
for information on why the number of cores detected might not be all of the cores on your machine.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!