What is the maximum number of workers I can use with the 'Processes' or 'local' profile in the Parallel Computing Toolbox?

78 次查看(过去 30 天)
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
MathWorks Support Team 2024-7-24,0:00
编辑:MathWorks Support Team 2024-7-24,9:51
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 个)

类别

Help CenterFile 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!

Translated by