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&grs&rdt .
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 openssl: RSA 4096-bit Performance mafft: Multiple Sequence Alignment primesieve: 1e12 Prime Number Generation urbanterror: 2560 x 1440 build-imagemagick: Time To Compile graphics-magick: Resizing graphics-magick: HWB Color Space c-ray: Total Time build-php: Time To Compile hint: FLOAT pgbench: On-Disk - Normal Load - Read Write stockfish: Total Time scimark2: Composite fhourstones: Complex Connect-4 Solving blake2: Phoronix Test Suite v6.6.0 tscp: AI Chess Performance pgbench: Mostly RAM - Normal Load - Read Write himeno: Poisson Pressure Solver 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 57.63 38.03 423.09 43.53 82.29 94 125 76.27 61.54 239904779.38 44.77 4971 1131.74 10197.87 4.96 1078267 315.17 885.75 43.21 68.95 43.92 60.33 34.86 411.37 44.77 86.56 93 115 72.63 60.64 242065033.45 43.96 4432 1142.96 10053.20 5.19 1074064 318.40 789.22 46.04 71.38 47.14 59.57 34.80 408.84 52.60 89.12 93 114 73.66 61.94 242155604.45 43.87 4438 1147.02 10036.43 5.19 1073643 152.23 852.18 38.12 67.68 51.98 258.67 9.88 202.26 67.43 122.13 133 152 56.60 52.43 289637648.69 44.00 4218 993.00 10507.10 4.84 1034811 244.17 1510.79 169.25 224.15 679.47 255.20 11.60 403.76 102.06 95 110 69.72 46.49 241879397.49 52.57 4180 1178.28 10798.67 5.10 1084866 269.42 1170.05 179.57 219.09 638.18 OpenBenchmarking.org
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 OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS 16 32 48 64 80 Min: 4 / Avg: 22.95 / Max: 86 Min: 2 / Avg: 21.94 / Max: 74 Min: 2 / Avg: 19.03 / Max: 66 Min: 3 / Avg: 14.7 / Max: 27
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1g RSA 4096-bit Performance 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 60 120 180 240 300 SE +/- 0.07, N = 3 SE +/- 0.09, N = 3 SE +/- 0.03, N = 3 SE +/- 0.38, N = 3 SE +/- 0.31, N = 3 57.63 60.33 59.57 258.67 255.20 -arch -fomit-frame-pointer -arch -fomit-frame-pointer -arch -fomit-frame-pointer -m64 -ldl -m64 -ldl 1. (CC) gcc options: -O3 -lssl -lcrypto
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment 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 9 18 27 36 45 SE +/- 0.15, N = 3 SE +/- 0.15, N = 3 SE +/- 0.15, N = 3 SE +/- 0.24, N = 6 SE +/- 0.22, N = 6 38.03 34.86 34.80 9.88 11.60 1. (CC) gcc options: -O3 -lm -lpthread
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 5.4.2 1e12 Prime Number Generation 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 90 180 270 360 450 SE +/- 0.92, N = 3 SE +/- 0.46, N = 3 SE +/- 0.16, N = 3 SE +/- 2.29, N = 3 SE +/- 0.27, N = 3 423.09 411.37 408.84 202.26 403.76 -fopenmp 1. (CXX) g++ options: -O2
Urban Terror Resolution: 2560 x 1440 OpenBenchmarking.org Frames Per Second, More Is Better Urban Terror 4.2.013 Resolution: 2560 x 1440 OS X 10.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS 15 30 45 60 75 SE +/- 0.28, N = 3 SE +/- 0.32, N = 3 SE +/- 0.50, N = 3 SE +/- 1.08, N = 3 43.53 44.77 52.60 67.43
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 Ubuntu 16.04.1 LTS - Clang 3.8 30 60 90 120 150 SE +/- 1.22, N = 5 SE +/- 1.74, N = 6 SE +/- 1.84, N = 6 SE +/- 0.40, N = 3 SE +/- 0.19, N = 3 82.29 86.56 89.12 122.13 102.06
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing 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 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 94 93 93 133 95 -lbz2 -lxml2 -lbz2 -lxml2 -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 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 30 60 90 120 150 SE +/- 1.53, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 125 115 114 152 110 -lbz2 -lxml2 -lbz2 -lxml2 -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
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time 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 20 40 60 80 100 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.64, N = 3 SE +/- 0.69, N = 3 76.27 72.63 73.66 56.60 69.72 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 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 14 28 42 56 70 SE +/- 0.28, N = 3 SE +/- 0.07, N = 3 SE +/- 0.82, N = 3 SE +/- 0.18, N = 3 SE +/- 0.06, N = 3 61.54 60.64 61.94 52.43 46.49 -lpthread -liconv -lpthread -liconv -lpthread -liconv -ldl -ldl 1. (CC) gcc options: -O2 -pedantic -lz -lm
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT 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 60M 120M 180M 240M 300M SE +/- 303189.14, N = 3 SE +/- 151828.24, N = 3 SE +/- 18111.50, N = 3 SE +/- 381385.99, N = 3 SE +/- 11720.86, N = 3 239904779.38 242065033.45 242155604.45 289637648.69 241879397.49 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 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 12 24 36 48 60 SE +/- 0.75, N = 6 SE +/- 1.11, N = 4 SE +/- 0.12, N = 3 44.77 43.96 43.87 44.00 52.57 -pthreads -pthreads -mthreads -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
Stockfish Total Time OpenBenchmarking.org ms, Fewer Is Better Stockfish 2014-11-26 Total Time 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 1100 2200 3300 4400 5500 SE +/- 8.08, N = 3 SE +/- 0.88, N = 3 SE +/- 0.58, N = 3 SE +/- 2.89, N = 3 SE +/- 1.53, N = 3 4971 4432 4438 4218 4180 -arch -mdynamic-no-pic -arch -mdynamic-no-pic -arch -mdynamic-no-pic -flto 1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite 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 300 600 900 1200 1500 SE +/- 6.16, N = 4 SE +/- 3.00, N = 4 SE +/- 1.66, N = 4 SE +/- 4.87, N = 4 SE +/- 3.49, N = 4 1131.74 1142.96 1147.02 993.00 1178.28
Fhourstones Complex Connect-4 Solving OpenBenchmarking.org Kpos / sec, More Is Better Fhourstones 3.1 Complex Connect-4 Solving 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 2K 4K 6K 8K 10K SE +/- 2.42, N = 3 SE +/- 4.56, N = 3 SE +/- 28.34, N = 3 SE +/- 3.76, N = 3 SE +/- 3.70, N = 3 10197.87 10053.20 10036.43 10507.10 10798.67 1. (CC) gcc options: -O3
BLAKE2 Phoronix Test Suite v6.6.0 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20130131 Phoronix Test Suite v6.6.0 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 1.1678 2.3356 3.5034 4.6712 5.839 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 SE +/- 0.08, N = 6 SE +/- 0.09, N = 4 4.96 5.19 5.19 4.84 5.10 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance 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 200K 400K 600K 800K 1000K SE +/- 789.33, N = 5 SE +/- 1027.81, N = 5 SE +/- 661.87, N = 5 SE +/- 485.50, N = 4 SE +/- 7871.80, N = 5 1078267 1074064 1073643 1034811 1084866 1. (CC) gcc options: -O3 -march=native
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.10.5 OS X 10.11.6 macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 70 140 210 280 350 SE +/- 4.72, N = 6 SE +/- 7.59, N = 6 SE +/- 4.12, N = 6 SE +/- 6.68, N = 6 SE +/- 8.09, N = 6 315.17 318.40 152.23 244.17 269.42 -pthreads -pthreads -mthreads -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
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver 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 300 600 900 1200 1500 SE +/- 1.89, N = 3 SE +/- 5.06, N = 3 SE +/- 58.27, N = 6 SE +/- 4.98, N = 3 SE +/- 0.98, N = 3 885.75 789.22 852.18 1510.79 1170.05 -mavx2 -mavx2 1. (CC) gcc options: -O3
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create 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 40 80 120 160 200 SE +/- 1.42, N = 3 SE +/- 1.23, N = 3 SE +/- 3.67, N = 3 SE +/- 10.10, N = 3 SE +/- 16.52, N = 3 43.21 46.04 38.12 169.25 179.57
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile 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 50 100 150 200 250 SE +/- 1.20, N = 6 SE +/- 0.54, N = 3 SE +/- 1.37, N = 6 SE +/- 7.68, N = 6 SE +/- 3.56, N = 6 68.95 71.38 67.68 224.15 219.09
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 Ubuntu 16.04.1 LTS - Clang 3.8 150 300 450 600 750 SE +/- 0.87, N = 6 SE +/- 1.22, N = 6 SE +/- 2.86, N = 6 SE +/- 29.78, N = 6 SE +/- 17.65, N = 6 43.92 47.14 51.98 679.47 638.18 -ldl -lpthread -ldl -lpthread 1. (CC) gcc options: -O2
Phoronix Test Suite v10.8.5