Slowness in mathworks container

조회 수: 5 (최근 30일)
Joshua
Joshua 2024년 9월 19일
답변: Supraja 2024년 10월 4일
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일
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일
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
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

카테고리

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