MCR execution very slow on Windows 2012
이전 댓글 표시
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.
답변 (1개)
Yuebin Zhou
2015년 12월 7일
0 개 추천
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
Gurpreet Singh
2015년 12월 7일
편집: Gurpreet Singh
2015년 12월 7일
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!