Utilizing the large number of thread on recent Ryzen 3 Thread Rippper processor ?

7 views (last 30 days)
When ever I used the parfor loop, Matlab automatically assign the number of worker to be equal to the number of physical CPU core. Is there anyway to let matlab 2020 know that each CPU core has two thread so that Matlab could use them properly ?
I am planning to purchase AMD Ryzen 3 3960X for my new work station.
  2 Comments
Rik
Rik on 23 Jul 2020
Edited: Rik on 23 Jul 2020
I don't work with parfor often, but can't you specify the number of workers explicitly yourself? Note that due to the extra load in your memory it might slow down the calculations to double the number of workers.
Tuong Nguyen Minh
Tuong Nguyen Minh on 23 Jul 2020
I am not sure if setting the nummber of worker = to the number of available thread would be beneficial or detrimental on Matlab 2020a or not. Older version of Matlab usually set the number of work = number of physical core.

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!