Slowness in mathworks container
9 次查看(过去 30 天)
显示 更早的评论
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
2024-9-19
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
2024-9-23
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?
回答(1 个)
Supraja
2024-10-4
Hi Joshua,
It seems like you are facing issue while setting up the CI environment.
Please refer to the MATLAB documentation for setting up the environment:
I hope this helps!
Thanks
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Containers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!