What is the maximum number of workers I can use with the 'Processes' or 'local' profile in the Parallel Computing Toolbox?
36 views (last 30 days)
Show older comments
MathWorks Support Team
on 6 Apr 2017
Edited: MathWorks Support Team
on 7 Jul 2025
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?
Accepted Answer
MathWorks Support Team
on 7 Jul 2025
Edited: MathWorks Support Team
on 7 Jul 2025
All releases from R2014a onwards can utilize up to 512 workers on a local machine through Parallel Computing Toolbox. For R2013b and earlier, 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:
for information on why the number of cores detected might not be all of the cores on your machine.
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Parallel Server 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!