Efficient use of 16 cores

Hi!
I just bough a new processor, with 16C/32T (Ryzen 9 5950X).
Could you tell me how to set the number of workers to better exploit all the capabilities of the CPU?
I saw I can start parallel pools on 20 workers, then Matlab returns an error if I try to increase this number.
Should I set it equal to the number of cores (i.e. 16)?
Thank you very much

1 Comment

Would you mind posting the MATLAB bench(3) for this CPU? I'm interested in purchasing the 5950x as well. Thanks.

Sign in to comment.

Answers (1)

Mario Malic
Mario Malic on 28 Dec 2020
Edited: Mario Malic on 28 Dec 2020
Maximum number of workers is equal to maximum number of physical cores in your CPU. In your case it's 16.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 28 Dec 2020

Commented:

on 7 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!