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&grr&sro.

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 Benchmarkingprimesieve: 1e12 Prime Number Generationscimark2: Compositeblake2: Phoronix Test Suite v6.6.0urbanterror: 1366 x 768hint: FLOATpgbench: On-Disk - Normal Load - Read Writepgbench: Mostly RAM - Normal Load - Read Writeopenssl: RSA 4096-bit Performancestockfish: Total Timec-ray: Total Timebuild-php: Time To Compilebuild-imagemagick: Time To Compilehimeno: Poisson Pressure Solvergraphics-magick: HWB Color Spacegraphics-magick: Resizingtscp: AI Chess Performancefhourstones: Complex Connect-4 Solvingmafft: Multiple Sequence Alignmentcompilebench: Initial Createcompilebench: Compilesqlite: Default Test DirectorymacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8488.281055.864.5253.93203814909.622318.493088.6444.83524497.7785.36112.14676.8196779074038505.5341.2550.60213.0631.97259.97903.144.3673.13243097904.361138.142001.79192.37494173.2863.83152.111282.881241038658808838.0816.12271.03335.8027.10511.491104.486.07202585759.021153.872088.44134.554890146.6589.77200.81978.6692789235059135.7714.63270.56348.0929.19OpenBenchmarking.org

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.12110220330440550SE +/- 2.14, N = 3SE +/- 2.01, N = 3SE +/- 0.23, N = 3259.97511.49488.28-fopenmp1. (CXX) g++ options: -O2

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.122004006008001000SE +/- 3.53, N = 4SE +/- 7.49, N = 4SE +/- 9.47, N = 4903.141104.481055.86

BLAKE2

Phoronix Test Suite v6.6.0

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

Urban Terror

Resolution: 1366 x 768 - Total Frame Time

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

Urban Terror

Resolution: 1366 x 768

OpenBenchmarking.orgFrames Per Second, More Is BetterUrban Terror 4.2.013Resolution: 1366 x 768Ubuntu 16.04.1 LTSmacOS 10.121632486480SE +/- 1.45, N = 3SE +/- 0.03, N = 373.1353.93

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.1250M100M150M200M250MSE +/- 374435.39, N = 3SE +/- 29792.86, N = 3SE +/- 251969.19, N = 3243097904.36202585759.02203814909.621. (CC) gcc options: -O3 -march=native -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 WriteUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.125001000150020002500SE +/- 10.80, N = 3SE +/- 19.43, N = 3SE +/- 5.29, N = 31138.141153.872318.49-lrt -lcrypt -ldl-pthreads -mthreads -lrt -lcrypt -ldl-pthreads -mthreads1. (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.orgTPS, More Is BetterPostgreSQL pgbench 9.4.3Scaling: Mostly RAM - Test: Normal Load - Mode: Read WriteUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.127001400210028003500SE +/- 15.59, N = 3SE +/- 5.02, N = 3SE +/- 24.81, N = 32001.792088.443088.64-lrt -lcrypt -ldl-pthreads -mthreads -lrt -lcrypt -ldl-pthreads -mthreads1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm

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.8macOS 10.124080120160200SE +/- 0.12, N = 3SE +/- 17.49, N = 6SE +/- 0.03, N = 3192.37134.5544.83-m64 -ldl-m64 -ldl-arch -fomit-frame-pointer1. (CC) gcc options: -O3 -lssl -lcrypto

Stockfish

Total Time

OpenBenchmarking.orgms, Fewer Is BetterStockfish 2014-11-26Total TimeUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.1211002200330044005500SE +/- 2.60, N = 3SE +/- 0.88, N = 3SE +/- 6.96, N = 3494148905244-flto-arch -mdynamic-no-pic1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12306090120150SE +/- 0.01, N = 3SE +/- 6.24, N = 6SE +/- 0.01, N = 373.28146.6597.771. (CC) gcc options: -lm -lpthread -O3

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.1220406080100SE +/- 0.11, N = 3SE +/- 5.07, N = 6SE +/- 0.07, N = 363.8389.7785.36-ldl-ldl-lpthread -liconv1. (CC) gcc options: -O2 -pedantic -lz -lm

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.124080120160200SE +/- 2.87, N = 6SE +/- 2.11, N = 3SE +/- 0.05, N = 3152.11200.81112.14

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.8macOS 10.1230060090012001500SE +/- 2.16, N = 3SE +/- 6.78, N = 3SE +/- 0.80, N = 31282.88978.66676.81-mavx2-mavx21. (CC) gcc options: -O3

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color SpaceUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12306090120150SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31249296-fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp-pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma-lbz2 -lxml21. (CC) gcc options: -O2 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: ResizingUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.1220406080100SE +/- 1.75, N = 4SE +/- 1.15, N = 3SE +/- 0.00, N = 31037877-fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp-pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma-lbz2 -lxml21. (CC) gcc options: -O2 -lz -lm -lpthread

TSCP

AI Chess Performance

OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess PerformanceUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12200K400K600K800K1000KSE +/- 5639.62, N = 5SE +/- 379.18, N = 5SE +/- 2443.53, N = 58658809235059074031. (CC) gcc options: -O3 -march=native

Fhourstones

Complex Connect-4 Solving

OpenBenchmarking.orgKpos / sec, More Is BetterFhourstones 3.1Complex Connect-4 SolvingUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.122K4K6K8K10KSE +/- 149.35, N = 6SE +/- 144.38, N = 6SE +/- 6.70, N = 38838.089135.778505.531. (CC) gcc options: -O3

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.12918273645SE +/- 2.03, N = 6SE +/- 0.05, N = 3SE +/- 0.07, N = 316.1214.6341.251. (CC) gcc options: -O3 -lm -lpthread

Compile Bench

Test: Initial Create

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: Initial CreateUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.1260120180240300SE +/- 13.49, N = 3SE +/- 12.70, N = 3SE +/- 0.71, N = 3271.03270.5650.60

Compile Bench

Test: Compile

OpenBenchmarking.orgMB/s, More Is BetterCompile Bench 0.6Test: CompileUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.1280160240320400SE +/- 2.28, N = 3SE +/- 1.47, N = 3SE +/- 4.09, N = 3335.80348.09213.06

SQLite

Test Target: Default Test Directory

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite 3.8.10.2Test Target: Default Test DirectoryUbuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12714212835SE +/- 0.37, N = 6SE +/- 2.54, N = 6SE +/- 1.93, N = 627.1029.1931.97-ldl -lpthread-ldl -lpthread-lreadline -lcurses1. (CC) gcc options: -O2


Phoronix Test Suite v10.8.5