MATLAB 2013a. Performance issues. "Fast/new PC" perform worse that "slow/old PC" using same script on same data

1 次查看(过去 30 天)
Hello,
Recently people in my laboratory have observed a huge performance loss on the "good" computers that we use for running big calculations. Our fast computers (attached dxdiagPC2 and dxdiagPC3 (16gb Memory, Intel i7 3.40Ghz, 8 CPUs)) are performing much worse than our older PCs (attached dxdiagPC1 (8gb Memory, Intel i5 3.40Ghz, 4 CPUs)).
Using the exact same script and data with MATLAB 2013a 64bit on all 3 computers I get the following elapsed time for each session:
PC1: 212.703871 seconds.
PC2: 1858.790018 seconds
PC3: 3119.389738 seconds.
Running the "bench" command scores PC2 and PC3 higher than PC1.
Similar time differences have been observed using different other scripts not related to the one used for testing here.
Also tested MATLAB 2014a 64bit on PC3 with similar slow result. UPDATE: Also tested MATLAB2015a 64bit on PC2 with similar slow result.
We have noticed this performance drop over the last month.
It would be much appreciated if anyone could help us on solving this issue or come up with an explanation to why our more powerful PCs are suddenly performing much worse than our older ones.
Best Regards,
Joachim
  2 个评论
Doug
Doug 2015-6-10
Have you looked at profiles? This would tell you if everything is running slower or if there are specific functions that are causing the issue.
joachim ahlbeck
joachim ahlbeck 2015-6-10
I was not aware of this command. I found that the "path" command was somehow taking ages on the two computers. I fixed this and now the script is running much faster. Thanks alot!

请先登录,再进行评论。

采纳的回答

joachim ahlbeck
joachim ahlbeck 2015-6-10
Using the "profile" command it was found that the "path" command was using up most of the time on the 2 slower computers. Changed the script to ignore this command fixed the problem and the script finished in the time expected.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by