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&grw.

macOS 10.12 vs. Ubuntu Linux BenchmarkingProcessorMotherboardChipsetMemoryDiskGraphicsMonitorAudioNetworkOSKernelCompilerFile-SystemScreen ResolutionDesktopDisplay ServerDisplay DriverOpenGLOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8Intel Core i5 @ 2.60GHz (4 Cores)Apple Mac miniIntel 82 x 4096 MB DDR3-1600MHz1 TB APPLE HDD HTS541010A9E662Intel Iris 1536MBThunderbolt DisplayOS X 10.10.514.5.0 (x86_64)Apple LLVM 7.0.2 (clang-700.1.81) + GCC 4.2.1 + Xcode 7.2.1Journaled HFS+2560x1440OS X 10.11.615.6.0 (x86_64)Apple LLVM 8.0.0 (clang-800.0.38) + GCC 4.2.1 + Xcode 8.0macOS 10.1216.0.0 (x86_64)Intel Core i5-4278U @ 3.10GHz (4 Cores)Apple Mac-35C5E08120C7EEAFIntel Haswell-ULT DRAM8192MB1000GB APPLE HDD HTS541Intel Haswell-ULT IGP (1100MHz)Intel Haswell-ULT HD AudioThunderboltBroadcom NetXtreme BCM57766 Gigabit PCIe + Broadcom BCM4360 802.11ac WirelessUbuntu 16.044.4.0-38-generic (x86_64)Unity 7.4.0X Server 1.18.3intel 2.99.9173.3 Mesa 11.2.0GCC 5.4.0 20160609ext4Clang 3.8.0-2ubuntu4OpenBenchmarking.orgSystem 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,rwProcessor Details- Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: Scaling Governor: intel_pstate powersaveGraphics Details- Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: SNA

macOS 10.12 vs. Ubuntu Linux Benchmarkingtscp: AI Chess Performancescimark2: Compositecompilebench: Compilecompilebench: Initial Createhint: FLOATblake2: Phoronix Test Suite v6.6.0mafft: Multiple Sequence Alignmenthimeno: Poisson Pressure Solverbuild-imagemagick: Time To Compileprimesieve: 1e12 Prime Number Generationstockfish: Total Timebuild-php: Time To Compilegraphics-magick: Resizinggraphics-magick: HWB Color Spacec-ray: Total Timeopenssl: RSA 4096-bit Performancesqlite: Default Test Directorypgbench: Mostly RAM - Normal Load - Read Writeurbanterror: 2560 x 1440pgbench: On-Disk - Normal Load - Read Writefhourstones: Complex Connect-4 SolvingOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.810782671131.7468.9543.21239904779.384.9638.03885.7582.29423.09497161.549412576.2757.6343.92315.1743.5344.7710197.8710740641142.9671.3846.04242065033.455.1934.86789.2286.56411.37443260.649311572.6360.3347.14318.4044.7743.9610053.2010736431147.0267.6838.12242155604.455.1934.80852.1889.12408.84443861.949311473.6659.5751.98152.2352.6043.8710036.431034811993.00224.15169.25289637648.694.849.881510.79122.13202.26421852.4313315256.60258.67679.47244.1767.4344.0010507.1010848661178.28219.09179.57241879397.495.1011.601170.05102.06403.76418046.499511069.72255.20638.18269.4252.5710798.67OpenBenchmarking.org

TSCP

AI Chess Performance

OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess PerformanceUbuntu 16.04.1 LTS - Clang 3.8OS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTS200K400K600K800K1000KSE +/- 7871.80, N = 5SE +/- 789.33, N = 5SE +/- 1027.81, N = 5SE +/- 661.87, N = 5SE +/- 485.50, N = 4108486610782671074064107364310348111. (CC) gcc options: -O3 -march=native

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12OS X 10.11.6OS X 10.10.5Ubuntu 16.04.1 LTS30060090012001500SE +/- 3.49, N = 4SE +/- 1.66, N = 4SE +/- 3.00, N = 4SE +/- 6.16, N = 4SE +/- 4.87, N = 41178.281147.021142.961131.74993.00

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8OS X 10.11.6OS X 10.10.5macOS 10.1250100150200250SE +/- 7.68, N = 6SE +/- 3.56, N = 6SE +/- 0.54, N = 3SE +/- 1.20, N = 6SE +/- 1.37, N = 6224.15219.0971.3868.9567.68

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateUbuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTSOS X 10.11.6OS X 10.10.5macOS 10.124080120160200SE +/- 16.52, N = 3SE +/- 10.10, N = 3SE +/- 1.23, N = 3SE +/- 1.42, N = 3SE +/- 3.67, N = 3179.57169.2546.0443.2138.12

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATUbuntu 16.04.1 LTSmacOS 10.12OS X 10.11.6Ubuntu 16.04.1 LTS - Clang 3.8OS X 10.10.560M120M180M240M300MSE +/- 381385.99, N = 3SE +/- 18111.50, N = 3SE +/- 151828.24, N = 3SE +/- 11720.86, N = 3SE +/- 303189.14, N = 3289637648.69242155604.45242065033.45241879397.49239904779.381. (CC) gcc options: -O3 -march=native -lm

BLAKE2

Phoronix Test Suite v6.6.0

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20130131Phoronix Test Suite v6.6.0Ubuntu 16.04.1 LTSOS X 10.10.5Ubuntu 16.04.1 LTS - Clang 3.8OS X 10.11.6macOS 10.121.16782.33563.50344.67125.839SE +/- 0.08, N = 6SE +/- 0.00, N = 3SE +/- 0.09, N = 4SE +/- 0.00, N = 3SE +/- 0.01, N = 34.844.965.105.195.191. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

Timed MAFFT Alignment

Multiple Sequence Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12OS X 10.11.6OS X 10.10.5918273645SE +/- 0.24, N = 6SE +/- 0.22, N = 6SE +/- 0.15, N = 3SE +/- 0.15, N = 3SE +/- 0.15, N = 39.8811.6034.8034.8638.031. (CC) gcc options: -O3 -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8OS X 10.10.5macOS 10.12OS X 10.11.630060090012001500SE +/- 4.98, N = 3SE +/- 0.98, N = 3SE +/- 1.89, N = 3SE +/- 58.27, N = 6SE +/- 5.06, N = 31510.791170.05885.75852.18789.22-mavx2-mavx21. (CC) gcc options: -O3

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTS306090120150SE +/- 1.22, N = 5SE +/- 1.74, N = 6SE +/- 1.84, N = 6SE +/- 0.19, N = 3SE +/- 0.40, N = 382.2986.5689.12102.06122.13

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 5.4.21e12 Prime Number GenerationUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12OS X 10.11.6OS X 10.10.590180270360450SE +/- 2.29, N = 3SE +/- 0.27, N = 3SE +/- 0.16, N = 3SE +/- 0.46, N = 3SE +/- 0.92, N = 3202.26403.76408.84411.37423.09-fopenmp1. (CXX) g++ options: -O2

Stockfish

Total Time

OpenBenchmarking.orgms, Fewer Is BetterStockfish 2014-11-26Total TimeUbuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTSOS X 10.11.6macOS 10.12OS X 10.10.511002200330044005500SE +/- 1.53, N = 3SE +/- 2.89, N = 3SE +/- 0.88, N = 3SE +/- 0.58, N = 3SE +/- 8.08, N = 341804218443244384971-flto-arch -mdynamic-no-pic-arch -mdynamic-no-pic-arch -mdynamic-no-pic1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileUbuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTSOS X 10.11.6OS X 10.10.5macOS 10.121428425670SE +/- 0.06, N = 3SE +/- 0.18, N = 3SE +/- 0.07, N = 3SE +/- 0.28, N = 3SE +/- 0.82, N = 346.4952.4360.6461.5461.94-ldl-ldl-lpthread -liconv-lpthread -liconv-lpthread -liconv1. (CC) gcc options: -O2 -pedantic -lz -lm

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: ResizingUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8OS X 10.10.5macOS 10.12OS X 10.11.6306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 313395949393-fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp-pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma-lbz2 -lxml2-lbz2 -lxml2-lbz2 -lxml21. (CC) gcc options: -O2 -lz -lm -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color SpaceUbuntu 16.04.1 LTSOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTS - Clang 3.8306090120150SE +/- 0.00, N = 3SE +/- 1.53, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3152125115114110-fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp-lbz2 -lxml2-lbz2 -lxml2-lbz2 -lxml2-pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma1. (CC) gcc options: -O2 -lz -lm -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8OS X 10.11.6macOS 10.12OS X 10.10.520406080100SE +/- 0.64, N = 3SE +/- 0.69, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 356.6069.7272.6373.6676.271. (CC) gcc options: -lm -lpthread -O3

OpenSSL

RSA 4096-bit Performance

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.0.1gRSA 4096-bit PerformanceUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8OS X 10.11.6macOS 10.12OS X 10.10.560120180240300SE +/- 0.38, N = 3SE +/- 0.31, N = 3SE +/- 0.09, N = 3SE +/- 0.03, N = 3SE +/- 0.07, N = 3258.67255.2060.3359.5757.63-m64 -ldl-m64 -ldl-arch -fomit-frame-pointer-arch -fomit-frame-pointer-arch -fomit-frame-pointer1. (CC) gcc options: -O3 -lssl -lcrypto

SQLite

Test Target: Default Test Directory

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.8.10.2Test Target: Default Test DirectoryOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTS150300450600750SE +/- 0.87, N = 6SE +/- 1.22, N = 6SE +/- 2.86, N = 6SE +/- 17.65, N = 6SE +/- 29.78, N = 643.9247.1451.98638.18679.47-ldl -lpthread-ldl -lpthread1. (CC) gcc options: -O2

PostgreSQL pgbench

Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Mostly RAM - Test: Normal Load - Mode: Read WriteOS X 10.11.6OS X 10.10.5Ubuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTSmacOS 10.1270140210280350SE +/- 7.59, N = 6SE +/- 4.72, N = 6SE +/- 8.09, N = 6SE +/- 6.68, N = 6SE +/- 4.12, N = 6318.40315.17269.42244.17152.23-pthreads -mthreads-pthreads-pthreads -mthreads -lrt -lcrypt -ldl-lrt -lcrypt -ldl-pthreads -mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm

Urban Terror

Resolution: 2560 x 1440

OpenBenchmarking.orgFrames Per Second, More Is BetterUrban Terror 4.2.013Resolution: 2560 x 1440Ubuntu 16.04.1 LTSmacOS 10.12OS X 10.11.6OS X 10.10.51530456075SE +/- 1.08, N = 3SE +/- 0.50, N = 3SE +/- 0.32, N = 3SE +/- 0.28, N = 367.4352.6044.7743.53

PostgreSQL pgbench

Scaling: On-Disk - Test: Normal Load - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: On-Disk - Test: Normal Load - Mode: Read WriteUbuntu 16.04.1 LTS - Clang 3.8OS X 10.10.5Ubuntu 16.04.1 LTSOS X 10.11.6macOS 10.121224364860SE +/- 0.12, N = 3SE +/- 0.75, N = 6SE +/- 1.11, N = 452.5744.7744.0043.9643.87-pthreads -mthreads -lrt -lcrypt -ldl-pthreads-lrt -lcrypt -ldl-pthreads -mthreads-pthreads -mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm

Fhourstones

Complex Connect-4 Solving

OpenBenchmarking.orgKpos / sec, More Is BetterFhourstones 3.1Complex Connect-4 SolvingUbuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTSOS X 10.10.5OS X 10.11.6macOS 10.122K4K6K8K10KSE +/- 3.70, N = 3SE +/- 3.76, N = 3SE +/- 2.42, N = 3SE +/- 4.56, N = 3SE +/- 28.34, N = 310798.6710507.1010197.8710053.2010036.431. (CC) gcc options: -O3

Urban Terror

Resolution: 2560 x 1440 - Total Frame Time

OpenBenchmarking.orgMilliseconds, Fewer Is BetterUrban Terror 4.2.013Resolution: 2560 x 1440 - Total Frame TimeUbuntu 16.04.1 LTSmacOS 10.12OS X 10.11.6OS X 10.10.51632486480Min: 3 / Avg: 14.7 / Max: 27Min: 2 / Avg: 19.03 / Max: 66Min: 2 / Avg: 21.94 / Max: 74Min: 4 / Avg: 22.95 / Max: 86


Phoronix Test Suite v10.8.5