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

5 次查看(过去 30 天)
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 个评论
Rik
Rik 2020-7-23
编辑:Rik 2020-7-23
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 2020-7-23
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by