Has the Matlab Startup Accelerator utility in any way affected system performance / memory usage for anybody?

48 visualizzazioni (ultimi 30 giorni)
I have multiple MATLAB versions installed on my system. Since R2011b onwards the installer adds a task to the windows scheduler. This task caches certain matlab files (at scheduled times) to enable faster MATLAB launch later.
Refer: Link1 ; Link2 ; Comment
What exactly is done when they say files are cached ?
I contacted TMW support but couldn't get any more information than the above links provide. Didn't find anything on the internet apart from the user comment on Yair's undocumented blog.

Risposta accettata

Philip Borghesani
Philip Borghesani il 28 Mar 2013
Modificato: Philip Borghesani il 28 Mar 2013
The MATLAB startup accelerator is quite simple, it reads in the files that will be loaded/run when MATLAB is started then the process exits. Testing showed that this can dramatically improve the startup times of MATLAB. There is no effect on system performance other than the file io while it is running and if you had other data in system file cache it might get flushed and need to be reloaded.
Now my opinion's, not Mathwork's, on when this is is likely to be most helpful and when it may not be as helpful.
I believe you will see the biggest improvements on a machine with large quantities of memory that is not frequently used for other memory hungry applications. Running a memory or disk intensive program between the time MATLAB starter has run and when you start MATLAB may nullify any improvements.
I expect little benefit or harm from the accelerator if MATLAB is installed on a local SSD.
Windows 7 superfetch dynamically performs a similar operation if you frequently use MATLAB then superfetch may be doing the same thing for you already.
In the case of multiple installed MATLAB versions I suggest disabling the accelerator on all but the version you use most often unless you have >8GB memory and frequently use multiple versions.
In conclusion this is a trade-off that may or may not be to your liking or helpful in any specific usage scenario: MATLAB Startup time is reduced at the expense of system overhead when the scheduled process runs and possibly when it runs again at user login.
  1 Commento
Image Analyst
Image Analyst il 28 Feb 2015
I never knew it even existed until today when I started MATLAB R2014b (on a HDD, not SSD) and it was just thrashing the disk for a couple of minutes. I brought up Task Manager (control-shift-Esc) and found MatlabStartupAccelerator.exe was taking up most of the used CPU time - between 5 and 15 percent. Finally after about 3 minutes, it stopped and disappeared, and the disk thrashing stopped, and MATLAB started. Hopefully this won't become a regular occurrence.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown 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!

Translated by