Slowness in mathworks container
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Rik
il 19 Set 2024
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
il 23 Set 2024
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?
Risposte (1)
Supraja
il 4 Ott 2024
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 Commenti
Vedere anche
Categorie
Scopri di più su Containers in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!