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.

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 Benchmarkingsqlite: Default Test Directorycompilebench: Compilecompilebench: Initial Createmafft: Multiple Sequence Alignmentfhourstones: Complex Connect-4 Solvingtscp: AI Chess Performancegraphics-magick: Resizinggraphics-magick: HWB Color Spacehimeno: Poisson Pressure Solverbuild-imagemagick: Time To Compilebuild-php: Time To Compilec-ray: Total Timestockfish: Total Timeopenssl: RSA 4096-bit Performancepgbench: Mostly RAM - Normal Load - Read Writepgbench: On-Disk - Normal Load - Read Writehint: FLOATurbanterror: 2560 x 1440blake2: Phoronix Test Suite v6.6.0scimark2: Compositeprimesieve: 1e12 Prime Number GenerationOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.843.9268.9543.2138.0310197.87107826794125885.7582.2961.5476.27497157.63315.1744.77239904779.3843.534.961131.74423.0947.1471.3846.0434.8610053.20107406493115789.2286.5660.6472.63443260.33318.4043.96242065033.4544.775.191142.96411.3751.9867.6838.1234.8010036.43107364393114852.1889.1261.9473.66443859.57152.2343.87242155604.4552.605.191147.02408.84679.47224.15169.259.8810507.1010348111331521510.79122.1352.4356.604218258.67244.1744.00289637648.6967.434.84993.00202.26638.18219.09179.5711.6010798.671084866951101170.05102.0646.4969.724180255.20269.4252.57241879397.495.101178.28403.76OpenBenchmarking.org

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 LTSUbuntu 16.04.1 LTS - Clang 3.8150300450600750SE +/- 0.87, N = 6SE +/- 1.22, N = 6SE +/- 2.86, N = 6SE +/- 29.78, N = 6SE +/- 17.65, N = 643.9247.1451.98679.47638.18-ldl -lpthread-ldl -lpthread1. (CC) gcc options: -O2

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.850100150200250SE +/- 1.20, N = 6SE +/- 0.54, N = 3SE +/- 1.37, N = 6SE +/- 7.68, N = 6SE +/- 3.56, N = 668.9571.3867.68224.15219.09

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.84080120160200SE +/- 1.42, N = 3SE +/- 1.23, N = 3SE +/- 3.67, N = 3SE +/- 10.10, N = 3SE +/- 16.52, N = 343.2146.0438.12169.25179.57

Timed MAFFT Alignment

Multiple Sequence Alignment

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

Fhourstones

Complex Connect-4 Solving

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

TSCP

AI Chess Performance

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

GraphicsMagick

Operation: Resizing

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

GraphicsMagick

Operation: HWB Color Space

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

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.830060090012001500SE +/- 1.89, N = 3SE +/- 5.06, N = 3SE +/- 58.27, N = 6SE +/- 4.98, N = 3SE +/- 0.98, N = 3885.75789.22852.181510.791170.05-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 LTSUbuntu 16.04.1 LTS - Clang 3.8306090120150SE +/- 1.22, N = 5SE +/- 1.74, N = 6SE +/- 1.84, N = 6SE +/- 0.40, N = 3SE +/- 0.19, N = 382.2986.5689.12122.13102.06

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.81428425670SE +/- 0.28, N = 3SE +/- 0.07, N = 3SE +/- 0.82, N = 3SE +/- 0.18, N = 3SE +/- 0.06, N = 361.5460.6461.9452.4346.49-lpthread -liconv-lpthread -liconv-lpthread -liconv-ldl-ldl1. (CC) gcc options: -O2 -pedantic -lz -lm

C-Ray

Total Time

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

Stockfish

Total Time

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

OpenSSL

RSA 4096-bit Performance

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

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.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.870140210280350SE +/- 4.72, N = 6SE +/- 7.59, N = 6SE +/- 4.12, N = 6SE +/- 6.68, N = 6SE +/- 8.09, N = 6315.17318.40152.23244.17269.42-pthreads-pthreads -mthreads-pthreads -mthreads-lrt -lcrypt -ldl-pthreads -mthreads -lrt -lcrypt -ldl1. (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.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: On-Disk - Test: Normal Load - Mode: Read WriteOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.81224364860SE +/- 0.75, N = 6SE +/- 1.11, N = 4SE +/- 0.12, N = 344.7743.9643.8744.0052.57-pthreads-pthreads -mthreads-pthreads -mthreads-lrt -lcrypt -ldl-pthreads -mthreads -lrt -lcrypt -ldl1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATOS X 10.10.5OS X 10.11.6macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.860M120M180M240M300MSE +/- 303189.14, N = 3SE +/- 151828.24, N = 3SE +/- 18111.50, N = 3SE +/- 381385.99, N = 3SE +/- 11720.86, N = 3239904779.38242065033.45242155604.45289637648.69241879397.491. (CC) gcc options: -O3 -march=native -lm

Urban Terror

Resolution: 2560 x 1440

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

Urban Terror

Resolution: 2560 x 1440 - Total Frame Time

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

BLAKE2

Phoronix Test Suite v6.6.0

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

SciMark

Computational Test: Composite

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

Primesieve

1e12 Prime Number Generation

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


Phoronix Test Suite v10.8.5