Clear Filters
Clear Filters

FFT bench on Linux machine

1 view (last 30 days)
Viacheslav Klimentyev
Viacheslav Klimentyev on 18 Jun 2016
Commented: Steven Lord on 20 Jun 2016
I have Intel i7 4790k and MATLAB 2015a on Windows 7 SP1. The bench for this configuration: 0.1366 0.0575 0.0412 0.0883 0.3454 0.4137
I installed Linux Gentoo and MATLAB 2016a on this machine yesterday. And bench: 0.1612 0.1028 0.0639 0.0745 0.4773 0.3888
Why fft is slowly in 2 times? It it a bug at compiling FFTW library for Linux in MATLAB? Or bench is not intended to compare two different versions of MATLAB?

Answers (1)

Steven Lord
Steven Lord on 18 Jun 2016
Do not use different releases' version of bench to perform comparisons. I believe there is a note to that effect at the bottom of the results figure (unless someone removed it recently.)
If you absolutely must use bench to compare two releases run the older release's version of bench on both. But in this scenario, you're comparing oranges and grapefruit, since you're changing operating systems. They're both citrus fruits, but if you hand me a glass of grapefruit juice instead of orange juice I will notice it at first sip.
  2 Comments
Viacheslav Klimentyev
Viacheslav Klimentyev on 20 Jun 2016
Thanks for your response! I found a solution for compare two different versions. I opened bench.m and analyzed code. In 2015b fft size is 2^22 and in 2016a it is 2^23, i.e. bench results are correct.
Steven Lord
Steven Lord on 20 Jun 2016
Yes. Changes to the bench problem sizes are one of the reasons why we tell people not to compare bench results across releases.

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!