Simulink slow on AMD Ryzen 7

20 次查看(过去 30 天)
Yavor Dobrev
Yavor Dobrev 2021-3-26
I have a new Lenovo T14s with a Ryzen 7 PRO 4750U and I am comparing Simulink performance to an old Lenovo T440p with an Intel i7-4710MQ. The same simulation is about 30% slower on the Ryzen. I have tried this with Matlab R2020b and R2021a. OS is Linux (Ubuntu).
When I run the bench-tool I get about 45 points on the Ryzen and about 15 on the i7. All numbers are way better on the Ryzen, so I am very confused why Simulink performs worse.
Does anyone has any suggestions how I can debug this?

回答(2 个)

Steve Miller
Steve Miller 2021-6-4
My suggestions:
  1. Check the compiler you are using on each machine, and make sure it is the same.
  2. Use the Solver Profiler to see if the same results are being calculated (check number of steps, step size, etc.)
  3. Run your comparison on a shipping example, such as sm_backhoe or sf_car
--Steve

Peisong Lou
Peisong Lou 2022-5-27
I have same issue on Win10, so i guess this is not cause the configuration or some other reason on using Matlab, this is cause Ryzen 7 performance bad for running Matlab, not only Simulink.

类别

Help CenterFile Exchange 中查找有关 Physical Units 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by