macOS Sierra vs. Ubuntu 16.04 LTS Benchmarking MacBook Air Haswell testing of macOS 10.12 Sierra versus Ubuntu 16.04 LTS with both GCC and Clang compilers. Benchmarks by Michael Larabel for a future article on Phoronix.
HTML result view exported from: https://openbenchmarking.org/result/1609278-LO-MACOS858110&rdt&grt .
macOS Sierra vs. Ubuntu 16.04 LTS Benchmarking Processor Motherboard Chipset Memory Disk Graphics Monitor Audio Network OS Kernel Compiler File-System Screen Resolution Desktop Display Server Display Driver OpenGL macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 Intel Core i5 @ 1.30GHz (4 Cores) Apple MacBook Air Apple SSD 2 x 2048 MB DDR3-1600MHz 121GB APPLE SSD SD0128F Intel HD 5000 1536MB Color LCD macOS 10.12 16.0.0 (x86_64) Apple LLVM 8.0.0 (clang-800.0.38) + GCC 4.2.1 + Xcode 8.0 Journaled HFS+ 1366x768 Intel Core i5-4250U @ 2.60GHz (4 Cores) Apple Mac-35C1E88140C3E6CF Intel Haswell-ULT DRAM 4096MB 121GB APPLE SSD SD0128 Intel Haswell-ULT IGP (1000MHz) Intel Haswell-ULT HD Audio Broadcom BCM4360 802.11ac Wireless Ubuntu 16.04 4.4.0-38-generic (x86_64) Unity 7.4.0 X Server 1.18.3 intel 2.99.917 3.3 Mesa 11.2.0 GCC 5.4.0 20160609 ext4 Clang 3.8.0-2ubuntu4 OpenBenchmarking.org System Details - macOS 10.12: Python 2.7.10. - Ubuntu 16.04.1 LTS: Python 2.7.12. - Ubuntu 16.04.1 LTS - Clang 3.8: Python 2.7.12. Compiler Details - Ubuntu 16.04.1 LTS: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details - Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: DEADLINE / data=ordered,errors=remount-ro,relatime,rw Processor Details - Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: Scaling Governor: intel_pstate powersave Graphics Details - Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: SNA
macOS Sierra vs. Ubuntu 16.04 LTS Benchmarking blake2: Phoronix Test Suite v6.6.0 c-ray: Total Time compilebench: Compile compilebench: Initial Create fhourstones: Complex Connect-4 Solving graphics-magick: Resizing graphics-magick: HWB Color Space hint: FLOAT himeno: Poisson Pressure Solver openssl: RSA 4096-bit Performance pgbench: Mostly RAM - Normal Load - Read Write pgbench: On-Disk - Normal Load - Read Write primesieve: 1e12 Prime Number Generation scimark2: Composite sqlite: Default Test Directory stockfish: Total Time build-imagemagick: Time To Compile mafft: Multiple Sequence Alignment build-php: Time To Compile tscp: AI Chess Performance urbanterror: 1366 x 768 macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 4.52 97.77 213.06 50.60 8505.53 77 96 203814909.62 676.81 44.83 3088.64 2318.49 488.28 1055.86 31.97 5244 112.14 41.25 85.36 907403 53.93 4.36 73.28 335.80 271.03 8838.08 103 124 243097904.36 1282.88 192.37 2001.79 1138.14 259.97 903.14 27.10 4941 152.11 16.12 63.83 865880 73.13 6.07 146.65 348.09 270.56 9135.77 78 92 202585759.02 978.66 134.55 2088.44 1153.87 511.49 1104.48 29.19 4890 200.81 14.63 89.77 923505 OpenBenchmarking.org
BLAKE2 Phoronix Test Suite v6.6.0 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20130131 Phoronix Test Suite v6.6.0 macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 2 4 6 8 10 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 SE +/- 0.96, N = 6 4.52 4.36 6.07 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 30 60 90 120 150 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 6.24, N = 6 97.77 73.28 146.65 1. (CC) gcc options: -lm -lpthread -O3
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 80 160 240 320 400 SE +/- 4.09, N = 3 SE +/- 2.28, N = 3 SE +/- 1.47, N = 3 213.06 335.80 348.09
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 60 120 180 240 300 SE +/- 0.71, N = 3 SE +/- 13.49, N = 3 SE +/- 12.70, N = 3 50.60 271.03 270.56
Fhourstones Complex Connect-4 Solving OpenBenchmarking.org Kpos / sec, More Is Better Fhourstones 3.1 Complex Connect-4 Solving macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 2K 4K 6K 8K 10K SE +/- 6.70, N = 3 SE +/- 149.35, N = 6 SE +/- 144.38, N = 6 8505.53 8838.08 9135.77 1. (CC) gcc options: -O3
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 1.75, N = 4 SE +/- 1.15, N = 3 77 103 78 -lbz2 -lxml2 -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma 1. (CC) gcc options: -O2 -lz -lm -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: HWB Color Space macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 96 124 92 -lbz2 -lxml2 -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma 1. (CC) gcc options: -O2 -lz -lm -lpthread
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 50M 100M 150M 200M 250M SE +/- 251969.19, N = 3 SE +/- 374435.39, N = 3 SE +/- 29792.86, N = 3 203814909.62 243097904.36 202585759.02 1. (CC) gcc options: -O3 -march=native -lm
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 300 600 900 1200 1500 SE +/- 0.80, N = 3 SE +/- 2.16, N = 3 SE +/- 6.78, N = 3 676.81 1282.88 978.66 -mavx2 -mavx2 1. (CC) gcc options: -O3
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1g RSA 4096-bit Performance macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 40 80 120 160 200 SE +/- 0.03, N = 3 SE +/- 0.12, N = 3 SE +/- 17.49, N = 6 44.83 192.37 134.55 -arch -fomit-frame-pointer -m64 -ldl -m64 -ldl 1. (CC) gcc options: -O3 -lssl -lcrypto
PostgreSQL pgbench Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 700 1400 2100 2800 3500 SE +/- 24.81, N = 3 SE +/- 15.59, N = 3 SE +/- 5.02, N = 3 3088.64 2001.79 2088.44 -pthreads -mthreads -lrt -lcrypt -ldl -pthreads -mthreads -lrt -lcrypt -ldl 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm
PostgreSQL pgbench Scaling: On-Disk - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: On-Disk - Test: Normal Load - Mode: Read Write macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 500 1000 1500 2000 2500 SE +/- 5.29, N = 3 SE +/- 10.80, N = 3 SE +/- 19.43, N = 3 2318.49 1138.14 1153.87 -pthreads -mthreads -lrt -lcrypt -ldl -pthreads -mthreads -lrt -lcrypt -ldl 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 5.4.2 1e12 Prime Number Generation macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 110 220 330 440 550 SE +/- 0.23, N = 3 SE +/- 2.14, N = 3 SE +/- 2.01, N = 3 488.28 259.97 511.49 -fopenmp 1. (CXX) g++ options: -O2
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 200 400 600 800 1000 SE +/- 9.47, N = 4 SE +/- 3.53, N = 4 SE +/- 7.49, N = 4 1055.86 903.14 1104.48
SQLite Test Target: Default Test Directory OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.8.10.2 Test Target: Default Test Directory macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 7 14 21 28 35 SE +/- 1.93, N = 6 SE +/- 0.37, N = 6 SE +/- 2.54, N = 6 31.97 27.10 29.19 -lreadline -lcurses -ldl -lpthread -ldl -lpthread 1. (CC) gcc options: -O2
Stockfish Total Time OpenBenchmarking.org ms, Fewer Is Better Stockfish 2014-11-26 Total Time macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 1100 2200 3300 4400 5500 SE +/- 6.96, N = 3 SE +/- 2.60, N = 3 SE +/- 0.88, N = 3 5244 4941 4890 -arch -mdynamic-no-pic -flto 1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.9.0 Time To Compile macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 40 80 120 160 200 SE +/- 0.05, N = 3 SE +/- 2.87, N = 6 SE +/- 2.11, N = 3 112.14 152.11 200.81
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 9 18 27 36 45 SE +/- 0.07, N = 3 SE +/- 2.03, N = 6 SE +/- 0.05, N = 3 41.25 16.12 14.63 1. (CC) gcc options: -O3 -lm -lpthread
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 20 40 60 80 100 SE +/- 0.07, N = 3 SE +/- 0.11, N = 3 SE +/- 5.07, N = 6 85.36 63.83 89.77 -lpthread -liconv -ldl -ldl 1. (CC) gcc options: -O2 -pedantic -lz -lm
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 200K 400K 600K 800K 1000K SE +/- 2443.53, N = 5 SE +/- 5639.62, N = 5 SE +/- 379.18, N = 5 907403 865880 923505 1. (CC) gcc options: -O3 -march=native
Urban Terror Resolution: 1366 x 768 OpenBenchmarking.org Frames Per Second, More Is Better Urban Terror 4.2.013 Resolution: 1366 x 768 macOS 10.12 Ubuntu 16.04.1 LTS 16 32 48 64 80 SE +/- 0.03, N = 3 SE +/- 1.45, N = 3 53.93 73.13
Urban Terror Resolution: 1366 x 768 - Total Frame Time OpenBenchmarking.org Milliseconds, Fewer Is Better Urban Terror 4.2.013 Resolution: 1366 x 768 - Total Frame Time macOS 10.12 Ubuntu 16.04.1 LTS 10 20 30 40 50 Min: 2 / Avg: 18.37 / Max: 49 Min: 1 / Avg: 13.13 / Max: 43
Phoronix Test Suite v10.8.5