MCR execution very slow on Windows 2012
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Yuebin Zhou
2015-12-7
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!