MCR execution very slow on Windows 2012
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a Matlab function that I packaged using Compiler SDK (Java Builder) and invoking the java wrapped function via a REST web service. Script execution time is as follows:
Test Environment 1: Windows 7 Professional x64 (Physical Computer) RAM: 16 GB Execution time: 1 minute
Test Environment 2: Windows Server 12 R2 Standard x64 (Virtual Machine) RAM: 8 GB Execution time: 9+ minutes
I am using MCR runtime version 8.5 . I am not sure if any additional configurations are required on Windows 2012 server/VM to speed up the execution.
0 Commenti
Risposte (1)
Yuebin Zhou
il 7 Dic 2015
1) First of all, MATLAB, as other software, on a virtual machine is definitely slower than the host machine. You can verify that by running the BENCH command on both host and virtual machine.
2) MATLAB and MCR is not guaranteed to perform well on virtual environments, especially in the case of external interface connectivity (like in this case a REST Web service). You can find more information on the following link: http://www.mathworks.com/matlabcentral/answers/96411
3) Your application uses web services. This might make the MATLAB application further slower if there is large amount of data transmission, since there are extra layers to cross in operating systems before each data fetch operation.
1 Commento
Vedere anche
Categorie
Scopri di più su Java Package Integration 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!