macOS 10.12 vs. Ubuntu Linux Benchmarking Mac OS X / macOS benchmarking with macOS 10.12 Sierra compared to Ubuntu 16.04.1 LTS on the same Sandy Bridge Mac Mini system. Benchmarks by Michael Larabel for a future article on Phoronix.com.
HTML result view exported from: https://openbenchmarking.org/result/1609282-LO-MACOSMINI19&sor&grr .
macOS 10.12 vs. Ubuntu Linux Benchmarking Processor Motherboard Chipset Memory Disk Graphics Monitor Audio Network OS Kernel Compiler File-System Screen Resolution Desktop Display Server Display Driver OpenGL OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 Intel Core i5 @ 2.60GHz (4 Cores) Apple Mac mini Intel 8 2 x 4096 MB DDR3-1600MHz 1 TB APPLE HDD HTS541010A9E662 Intel Iris 1536MB Thunderbolt Display OS X 10.10.5 14.5.0 (x86_64) Apple LLVM 7.0.2 (clang-700.1.81) + GCC 4.2.1 + Xcode 7.2.1 Journaled HFS+ 2560x1440 OS X 10.11.6 15.6.0 (x86_64) Apple LLVM 8.0.0 (clang-800.0.38) + GCC 4.2.1 + Xcode 8.0 macOS 10.12 16.0.0 (x86_64) Intel Core i5-4278U @ 3.10GHz (4 Cores) Apple Mac-35C5E08120C7EEAF Intel Haswell-ULT DRAM 8192MB 1000GB APPLE HDD HTS541 Intel Haswell-ULT IGP (1100MHz) Intel Haswell-ULT HD Audio Thunderbolt Broadcom NetXtreme BCM57766 Gigabit PCIe + 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 - OS X 10.10.5: Python 2.7.10. - OS X 10.11.6: Python 2.7.10. - 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 10.12 vs. Ubuntu Linux Benchmarking primesieve: 1e12 Prime Number Generation scimark2: Composite blake2: Phoronix Test Suite v6.6.0 urbanterror: 2560 x 1440 hint: FLOAT pgbench: On-Disk - Normal Load - Read Write pgbench: Mostly RAM - Normal Load - Read Write openssl: RSA 4096-bit Performance stockfish: Total Time c-ray: Total Time build-php: Time To Compile build-imagemagick: Time To Compile himeno: Poisson Pressure Solver graphics-magick: HWB Color Space graphics-magick: Resizing tscp: AI Chess Performance fhourstones: Complex Connect-4 Solving mafft: Multiple Sequence Alignment compilebench: Initial Create compilebench: Compile sqlite: Default Test Directory OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 423.09 1131.74 4.96 43.53 239904779.38 44.77 315.17 57.63 4971 76.27 61.54 82.29 885.75 125 94 1078267 10197.87 38.03 43.21 68.95 43.92 411.37 1142.96 5.19 44.77 242065033.45 43.96 318.40 60.33 4432 72.63 60.64 86.56 789.22 115 93 1074064 10053.20 34.86 46.04 71.38 47.14 408.84 1147.02 5.19 52.60 242155604.45 43.87 152.23 59.57 4438 73.66 61.94 89.12 852.18 114 93 1073643 10036.43 34.80 38.12 67.68 51.98 202.26 993.00 4.84 67.43 289637648.69 44.00 244.17 258.67 4218 56.60 52.43 122.13 1510.79 152 133 1034811 10507.10 9.88 169.25 224.15 679.47 403.76 1178.28 5.10 241879397.49 52.57 269.42 255.20 4180 69.72 46.49 102.06 1170.05 110 95 1084866 10798.67 11.60 179.57 219.09 638.18 OpenBenchmarking.org
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 5.4.2 1e12 Prime Number Generation Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 OS X 10.11.6 OS X 10.10.5 90 180 270 360 450 SE +/- 2.29, N = 3 SE +/- 0.27, N = 3 SE +/- 0.16, N = 3 SE +/- 0.46, N = 3 SE +/- 0.92, N = 3 202.26 403.76 408.84 411.37 423.09 -fopenmp 1. (CXX) g++ options: -O2
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 OS X 10.11.6 OS X 10.10.5 Ubuntu 16.04.1 LTS 300 600 900 1200 1500 SE +/- 3.49, N = 4 SE +/- 1.66, N = 4 SE +/- 3.00, N = 4 SE +/- 6.16, N = 4 SE +/- 4.87, N = 4 1178.28 1147.02 1142.96 1131.74 993.00
BLAKE2 Phoronix Test Suite v6.6.0 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20130131 Phoronix Test Suite v6.6.0 Ubuntu 16.04.1 LTS OS X 10.10.5 Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.11.6 macOS 10.12 1.1678 2.3356 3.5034 4.6712 5.839 SE +/- 0.08, N = 6 SE +/- 0.00, N = 3 SE +/- 0.09, N = 4 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 4.84 4.96 5.10 5.19 5.19 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
Urban Terror Resolution: 2560 x 1440 - Total Frame Time OpenBenchmarking.org Milliseconds, Fewer Is Better Urban Terror 4.2.013 Resolution: 2560 x 1440 - Total Frame Time Ubuntu 16.04.1 LTS macOS 10.12 OS X 10.11.6 OS X 10.10.5 16 32 48 64 80 Min: 3 / Avg: 14.7 / Max: 27 Min: 2 / Avg: 19.03 / Max: 66 Min: 2 / Avg: 21.94 / Max: 74 Min: 4 / Avg: 22.95 / Max: 86
Urban Terror Resolution: 2560 x 1440 OpenBenchmarking.org Frames Per Second, More Is Better Urban Terror 4.2.013 Resolution: 2560 x 1440 Ubuntu 16.04.1 LTS macOS 10.12 OS X 10.11.6 OS X 10.10.5 15 30 45 60 75 SE +/- 1.08, N = 3 SE +/- 0.50, N = 3 SE +/- 0.32, N = 3 SE +/- 0.28, N = 3 67.43 52.60 44.77 43.53
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT Ubuntu 16.04.1 LTS macOS 10.12 OS X 10.11.6 Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.10.5 60M 120M 180M 240M 300M SE +/- 381385.99, N = 3 SE +/- 18111.50, N = 3 SE +/- 151828.24, N = 3 SE +/- 11720.86, N = 3 SE +/- 303189.14, N = 3 289637648.69 242155604.45 242065033.45 241879397.49 239904779.38 1. (CC) gcc options: -O3 -march=native -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 Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.10.5 Ubuntu 16.04.1 LTS OS X 10.11.6 macOS 10.12 12 24 36 48 60 SE +/- 0.12, N = 3 SE +/- 0.75, N = 6 SE +/- 1.11, N = 4 52.57 44.77 44.00 43.96 43.87 -pthreads -mthreads -lrt -lcrypt -ldl -pthreads -lrt -lcrypt -ldl -pthreads -mthreads -pthreads -mthreads 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm
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 OS X 10.11.6 OS X 10.10.5 Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS macOS 10.12 70 140 210 280 350 SE +/- 7.59, N = 6 SE +/- 4.72, N = 6 SE +/- 8.09, N = 6 SE +/- 6.68, N = 6 SE +/- 4.12, N = 6 318.40 315.17 269.42 244.17 152.23 -pthreads -mthreads -pthreads -pthreads -mthreads -lrt -lcrypt -ldl -lrt -lcrypt -ldl -pthreads -mthreads 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1g RSA 4096-bit Performance Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.11.6 macOS 10.12 OS X 10.10.5 60 120 180 240 300 SE +/- 0.38, N = 3 SE +/- 0.31, N = 3 SE +/- 0.09, N = 3 SE +/- 0.03, N = 3 SE +/- 0.07, N = 3 258.67 255.20 60.33 59.57 57.63 -m64 -ldl -m64 -ldl -arch -fomit-frame-pointer -arch -fomit-frame-pointer -arch -fomit-frame-pointer 1. (CC) gcc options: -O3 -lssl -lcrypto
Stockfish Total Time OpenBenchmarking.org ms, Fewer Is Better Stockfish 2014-11-26 Total Time Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS OS X 10.11.6 macOS 10.12 OS X 10.10.5 1100 2200 3300 4400 5500 SE +/- 1.53, N = 3 SE +/- 2.89, N = 3 SE +/- 0.88, N = 3 SE +/- 0.58, N = 3 SE +/- 8.08, N = 3 4180 4218 4432 4438 4971 -flto -arch -mdynamic-no-pic -arch -mdynamic-no-pic -arch -mdynamic-no-pic 1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.11.6 macOS 10.12 OS X 10.10.5 20 40 60 80 100 SE +/- 0.64, N = 3 SE +/- 0.69, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.02, N = 3 56.60 69.72 72.63 73.66 76.27 1. (CC) gcc options: -lm -lpthread -O3
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS OS X 10.11.6 OS X 10.10.5 macOS 10.12 14 28 42 56 70 SE +/- 0.06, N = 3 SE +/- 0.18, N = 3 SE +/- 0.07, N = 3 SE +/- 0.28, N = 3 SE +/- 0.82, N = 3 46.49 52.43 60.64 61.54 61.94 -ldl -ldl -lpthread -liconv -lpthread -liconv -lpthread -liconv 1. (CC) gcc options: -O2 -pedantic -lz -lm
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.9.0 Time To Compile OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS 30 60 90 120 150 SE +/- 1.22, N = 5 SE +/- 1.74, N = 6 SE +/- 1.84, N = 6 SE +/- 0.19, N = 3 SE +/- 0.40, N = 3 82.29 86.56 89.12 102.06 122.13
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.10.5 macOS 10.12 OS X 10.11.6 300 600 900 1200 1500 SE +/- 4.98, N = 3 SE +/- 0.98, N = 3 SE +/- 1.89, N = 3 SE +/- 58.27, N = 6 SE +/- 5.06, N = 3 1510.79 1170.05 885.75 852.18 789.22 -mavx2 -mavx2 1. (CC) gcc options: -O3
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: HWB Color Space Ubuntu 16.04.1 LTS OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 1.53, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 152 125 115 114 110 -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp -lbz2 -lxml2 -lbz2 -lxml2 -lbz2 -lxml2 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma 1. (CC) gcc options: -O2 -lz -lm -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.10.5 macOS 10.12 OS X 10.11.6 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 133 95 94 93 93 -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 -lbz2 -lxml2 -lbz2 -lxml2 1. (CC) gcc options: -O2 -lz -lm -lpthread
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS 200K 400K 600K 800K 1000K SE +/- 7871.80, N = 5 SE +/- 789.33, N = 5 SE +/- 1027.81, N = 5 SE +/- 661.87, N = 5 SE +/- 485.50, N = 4 1084866 1078267 1074064 1073643 1034811 1. (CC) gcc options: -O3 -march=native
Fhourstones Complex Connect-4 Solving OpenBenchmarking.org Kpos / sec, More Is Better Fhourstones 3.1 Complex Connect-4 Solving Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS OS X 10.10.5 OS X 10.11.6 macOS 10.12 2K 4K 6K 8K 10K SE +/- 3.70, N = 3 SE +/- 3.76, N = 3 SE +/- 2.42, N = 3 SE +/- 4.56, N = 3 SE +/- 28.34, N = 3 10798.67 10507.10 10197.87 10053.20 10036.43 1. (CC) gcc options: -O3
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 OS X 10.11.6 OS X 10.10.5 9 18 27 36 45 SE +/- 0.24, N = 6 SE +/- 0.22, N = 6 SE +/- 0.15, N = 3 SE +/- 0.15, N = 3 SE +/- 0.15, N = 3 9.88 11.60 34.80 34.86 38.03 1. (CC) gcc options: -O3 -lm -lpthread
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS OS X 10.11.6 OS X 10.10.5 macOS 10.12 40 80 120 160 200 SE +/- 16.52, N = 3 SE +/- 10.10, N = 3 SE +/- 1.23, N = 3 SE +/- 1.42, N = 3 SE +/- 3.67, N = 3 179.57 169.25 46.04 43.21 38.12
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 OS X 10.11.6 OS X 10.10.5 macOS 10.12 50 100 150 200 250 SE +/- 7.68, N = 6 SE +/- 3.56, N = 6 SE +/- 0.54, N = 3 SE +/- 1.20, N = 6 SE +/- 1.37, N = 6 224.15 219.09 71.38 68.95 67.68
SQLite Test Target: Default Test Directory OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.8.10.2 Test Target: Default Test Directory OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS 150 300 450 600 750 SE +/- 0.87, N = 6 SE +/- 1.22, N = 6 SE +/- 2.86, N = 6 SE +/- 17.65, N = 6 SE +/- 29.78, N = 6 43.92 47.14 51.98 638.18 679.47 -ldl -lpthread -ldl -lpthread 1. (CC) gcc options: -O2
Phoronix Test Suite v10.8.5