Simulink slow on AMD Ryzen 7

20 visualizaciones (últimos 30 días)
Yavor Dobrev
Yavor Dobrev el 26 de Mzo. de 2021
Respondida: Peisong Lou el 27 de Mayo de 2022
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?

Respuestas (2)

Steve Miller
Steve Miller el 4 de Jun. de 2021
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 el 27 de Mayo de 2022
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.

Categorías

Más información sobre Physical Units en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by