Why this Great 'SpeedUp'?

조회 수: 3 (최근 30일)
andre barbieri
andre barbieri 2017년 10월 11일
댓글: andre barbieri 2017년 10월 12일
Error or SuperHiperPower optimization???
  댓글 수: 6
David Goodmanson
David Goodmanson 2017년 10월 11일
thanks Cedric
OCDER
OCDER 2017년 10월 11일
Hi Andre, I'm just a volunteer trying to answer questions or point towards resources to help people get answers.
Your question "Error or SuperHiperPower optimization???", would yield an Error vs Optimization choice answer, which probably won't satisfy your curiousity. The answer would be optimization since no errors are being returned.
If you want to know "What did MathWorks do to make lu faster in 2017b than in 2017a?", then we can try a bit more to help. BUT, turns out lu is a built-in compiled function with protection against viewing the source code optimization... Wish we could help you more by investigating changes made, but seems like we can't:

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2017년 10월 11일
First note that you should not compare the results of running different versions of bench on different releases as bench may very well change from release to release. We mention that in the help for bench as well as at the bottom of the figure containing the numeric results of the bench run. [I don't know offhand if it did for release R2017b or not.] If you must compare two releases, run the older version of bench on both releases.
Even if the LU task did not change between release R2017a and R2017b the machine on which it was run appears to have changed. In R2017a the machine claiming the top spot in the table was listed as a Windows 7 machine; in R2017b it was listed as a Windows 10 machine.
  댓글 수: 3
Jan
Jan 2017년 10월 12일
@andre: The code of bench is subject to changes. You have to run the same bench.m file in both Matlab versions for a comparison. The 2016b version of the LU test is:
n = 2400;
A = randn(n, n);
tic
B = lu(A);
t = toc;
What do you see in the bench functions for 2017a and b? If they are equal, this would mean that LU uses faster methods: More cores or AVX code?
andre barbieri
andre barbieri 2017년 10월 12일
'1.46x speedup' for LU only in the First Cpu (same cpu, just change 2017a to 2017b) !!! Think that this was an error..

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by