OSX and Mac Performance

1 回表示 (過去 30 日間)
CustomBuilt
CustomBuilt 2016 年 10 月 18 日
コメント済み: John D'Errico 2017 年 6 月 22 日
I have two apple computers and thought it would be an interesting to compare performance (computer spec below)
COMPUTER A
  • Model Name: Mac Pro
  • Model Identifier: MacPro6,1
  • Processor Name: 6-Core Intel Xeon E5
  • Processor Speed: 3.5 GHz
  • Number of Processors: 1
  • Total Number of Cores:6
  • L2 Cache (per Core): 256 KB
  • L3 Cache: 12 MB
  • Memory: 64 GB
COMPUTER B
  • Model Name: MacBook Air
  • Model Identifier: MacBookAir6,2
  • Processor Name: Intel Core i7
  • Processor Speed: 1.7 GHz
  • Number of Processors: 1
  • Total Number of Cores:2
  • L2 Cache (per Core): 256 KB
  • L3 Cache: 4 MB
  • Memory: 8 GB
I use a simple fft() in a loop to test performance
function [ X ] = test( x )
a = 1:10000000;
for i = a
fft(x);
end
end
The performance is measured by timeit()
>> x = randn(8,1)
>> temp = @() test(x)
>> timeit(temp)
Computer A = 15.1 seconds Computer B = 11.1 seconds
The MacBook Air spanks the Mac Pro for performance
Why is this the case?
  1 件のコメント
Ken Atwell
Ken Atwell 2016 年 10 月 18 日
That is not much of an FFT. What if the vector is of a more realistic size, a say 1K or 2K?

サインインしてコメントする。

回答 (1 件)

Nelson Mark
Nelson Mark 2017 年 6 月 22 日
This is interesting and caught my eye because I'm thinking of buying a Mac Pro. Would you be willing to run some additional benchmarks on some different types of computations? e.g., generate 10000 X 5 random matrices, then doing least squares of column 1 on columns 2-5, 1000 times.
  1 件のコメント
John D'Errico
John D'Errico 2017 年 6 月 22 日
This is not an answer. Please don't add answers just to make a comment, certainly not on a question that has seen no activity for nearly a year.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAnalog Devices ADALM1000 Support from Data Acquisition Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by