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.

macOS Sierra vs. Ubuntu 16.04 LTS BenchmarkingProcessorMotherboardChipsetMemoryDiskGraphicsMonitorAudioNetworkOSKernelCompilerFile-SystemScreen ResolutionDesktopDisplay ServerDisplay DriverOpenGLmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8Intel Core i5 @ 1.30GHz (4 Cores)Apple MacBook AirApple SSD2 x 2048 MB DDR3-1600MHz121GB APPLE SSD SD0128FIntel HD 5000 1536MBColor LCDmacOS 10.1216.0.0 (x86_64)Apple LLVM 8.0.0 (clang-800.0.38) + GCC 4.2.1 + Xcode 8.0Journaled HFS+1366x768Intel Core i5-4250U @ 2.60GHz (4 Cores)Apple Mac-35C1E88140C3E6CFIntel Haswell-ULT DRAM4096MB121GB APPLE SSD SD0128Intel Haswell-ULT IGP (1000MHz)Intel Haswell-ULT HD AudioBroadcom 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- 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 Sierra vs. Ubuntu 16.04 LTS 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: 1366 x 768blake2: Phoronix Test Suite v6.6.0scimark2: Compositeprimesieve: 1e12 Prime Number GenerationmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.831.97213.0650.6041.258505.539074037796676.81112.1485.3697.77524444.833088.642318.49203814909.6253.934.521055.86488.2827.10335.80271.0316.128838.088658801031241282.88152.1163.8373.284941192.372001.791138.14243097904.3673.134.36903.14259.9729.19348.09270.5614.639135.779235057892978.66200.8189.77146.654890134.552088.441153.87202585759.026.071104.48511.49OpenBenchmarking.org

SQLite

Test Target: Default Test Directory

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.8.10.2Test Target: Default Test DirectorymacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8714212835SE +/- 1.93, N = 6SE +/- 0.37, N = 6SE +/- 2.54, N = 631.9727.1029.19-lreadline -lcurses-ldl -lpthread-ldl -lpthread1. (CC) gcc options: -O2

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompilemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.880160240320400SE +/- 4.09, N = 3SE +/- 2.28, N = 3SE +/- 1.47, N = 3213.06335.80348.09

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreatemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.860120180240300SE +/- 0.71, N = 3SE +/- 13.49, N = 3SE +/- 12.70, N = 350.60271.03270.56

Timed MAFFT Alignment

Multiple Sequence Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8918273645SE +/- 0.07, N = 3SE +/- 2.03, N = 6SE +/- 0.05, N = 341.2516.1214.631. (CC) gcc options: -O3 -lm -lpthread

Fhourstones

Complex Connect-4 Solving

OpenBenchmarking.orgKpos / sec, More Is BetterFhourstones 3.1Complex Connect-4 SolvingmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.82K4K6K8K10KSE +/- 6.70, N = 3SE +/- 149.35, N = 6SE +/- 144.38, N = 68505.538838.089135.771. (CC) gcc options: -O3

TSCP

AI Chess Performance

OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess PerformancemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8200K400K600K800K1000KSE +/- 2443.53, N = 5SE +/- 5639.62, N = 5SE +/- 379.18, N = 59074038658809235051. (CC) gcc options: -O3 -march=native

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: ResizingmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.820406080100SE +/- 0.00, N = 3SE +/- 1.75, N = 4SE +/- 1.15, N = 37710378-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 SpacemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 39612492-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 SolvermacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.830060090012001500SE +/- 0.80, N = 3SE +/- 2.16, N = 3SE +/- 6.78, N = 3676.811282.88978.66-mavx2-mavx21. (CC) gcc options: -O3

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompilemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.84080120160200SE +/- 0.05, N = 3SE +/- 2.87, N = 6SE +/- 2.11, N = 3112.14152.11200.81

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompilemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.820406080100SE +/- 0.07, N = 3SE +/- 0.11, N = 3SE +/- 5.07, N = 685.3663.8389.77-lpthread -liconv-ldl-ldl1. (CC) gcc options: -O2 -pedantic -lz -lm

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8306090120150SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 6.24, N = 697.7773.28146.651. (CC) gcc options: -lm -lpthread -O3

Stockfish

Total Time

OpenBenchmarking.orgms, Fewer Is BetterStockfish 2014-11-26Total TimemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.811002200330044005500SE +/- 6.96, N = 3SE +/- 2.60, N = 3SE +/- 0.88, N = 3524449414890-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 PerformancemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.84080120160200SE +/- 0.03, N = 3SE +/- 0.12, N = 3SE +/- 17.49, N = 644.83192.37134.55-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 WritemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.87001400210028003500SE +/- 24.81, N = 3SE +/- 15.59, N = 3SE +/- 5.02, N = 33088.642001.792088.44-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 WritemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.85001000150020002500SE +/- 5.29, N = 3SE +/- 10.80, N = 3SE +/- 19.43, N = 32318.491138.141153.87-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: FLOATmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.850M100M150M200M250MSE +/- 251969.19, N = 3SE +/- 374435.39, N = 3SE +/- 29792.86, N = 3203814909.62243097904.36202585759.021. (CC) gcc options: -O3 -march=native -lm

Urban Terror

Resolution: 1366 x 768

OpenBenchmarking.orgFrames Per Second, More Is BetterUrban Terror 4.2.013Resolution: 1366 x 768macOS 10.12Ubuntu 16.04.1 LTS1632486480SE +/- 0.03, N = 3SE +/- 1.45, N = 353.9373.13

Urban Terror

Resolution: 1366 x 768 - Total Frame Time

OpenBenchmarking.orgMilliseconds, Fewer Is BetterUrban Terror 4.2.013Resolution: 1366 x 768 - Total Frame TimemacOS 10.12Ubuntu 16.04.1 LTS1020304050Min: 2 / Avg: 18.37 / Max: 49Min: 1 / Avg: 13.13 / Max: 43

BLAKE2

Phoronix Test Suite v6.6.0

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20130131Phoronix Test Suite v6.6.0macOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8246810SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.96, N = 64.524.366.071. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositemacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.82004006008001000SE +/- 9.47, N = 4SE +/- 3.53, N = 4SE +/- 7.49, N = 41055.86903.141104.48

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 5.4.21e12 Prime Number GenerationmacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8110220330440550SE +/- 0.23, N = 3SE +/- 2.14, N = 3SE +/- 2.01, N = 3488.28259.97511.49-fopenmp1. (CXX) g++ options: -O2


Phoronix Test Suite v10.8.5