My Matlab take so long to start on AWS

6 visualizzazioni (ultimi 30 giorni)
Blake Roeglin
Blake Roeglin il 7 Mag 2022
Risposto: Philip il 16 Ott 2024
It took soooooooooo long to start Matlab on my all my AWS instances like c5, p2...
Often it stucks in the startup screen (see attached).
How do we solve this problem?

Risposte (2)

Philip
Philip il 16 Ott 2024
When an EC2 instance is launched from an Amazon Machine Image that already has MATLAB installed, this slow start is because AWS initializes the storage for the EC2 instance only when it is first accessed by the user, as described in Initialize Amazon EBS volumes. This will slow the first launch of any large software application in AWS, including MATLAB.
This problem is avoided in images built by MathWorks using warmup scripts, as described here: What are the advantages of building images with MathWorks scripts?. Instances launched from Cloud Center or MathWorks Reference Architectures are optimized using these scripts, and so on those instances MATLAB will be responsive over ten times faster. This applies to both Linux and Windows instances.

the cyclist
the cyclist il 7 Mag 2022
There are a number of startup options. For example, using -nosplash will prevent that particular image from displaying. A good starting point for you to explore options is this documentation page.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by