Slowness in mathworks container

33 次查看(过去 30 天)
Joshua
Joshua 2024-9-19,17:04
评论: Michael 2024-9-23,12:45
My team is running matlab simulink simulations in a containerized environment using the matlab CI token. We are seeing a slowdown in performance in our containerized environment relative to bare metal--regardless of whether we run on mac silicon or windows x86. Are there any "gotchas" we should be aware of that would cause matlab to perform worse in the container than it does on a bare metal machine?
  2 个评论
Rik
Rik 2024-9-19,20:56
How substantial is the decrease? I don't have a solution for you, but an indication of effect size would be valuable, especially if you are able to show how much other software is slowed down in your setup (as some slowdown is expected for containers).
And just to make sure you aren't running something very old: did you mean x64 instead of x86?
Michael
Michael 2024-9-23,12:45
Thanks for reaching out about this. In order for us to provide you with the most relevant information it would be useful if you could provide a few more details about the issues you are seeing and the environment that this is running in.
You mention that you see a performance decrease when you move from your native system to a containerised environment, but also mention that your systems are either Windows or Mac based machines. Moving to containers will involve running a different OS for the MATLAB session, especially on Windows where the containers will either run using HyperV or WSL. Have you tried running on a linux host as well? Could you also provide some details of the containers you are using. For example, could you provide the OS they are based on and whether you have built on top of any preexisting MathWorks authored Docker Images or Dockerfile.
For the slowdown that you are seeing, are you seeing this for any functions in particular or are you seeing this in a wide range of situations. Additionally, you mention that you are using token based licensing, is this based on matlab-batch and are you using this both directly on your machine and in the containers?

请先登录,再进行评论。

回答(0 个)

类别

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

标签

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by