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&sor&grs.

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 Benchmarkingpgbench: On-Disk - Normal Load - Read Writeprimesieve: 1e12 Prime Number Generationhimeno: Poisson Pressure Solverbuild-imagemagick: Time To Compilecompilebench: Compilepgbench: Mostly RAM - Normal Load - Read Writeurbanterror: 1366 x 768graphics-magick: HWB Color Spacegraphics-magick: Resizingscimark2: Compositehint: FLOATfhourstones: Complex Connect-4 Solvingstockfish: Total Timetscp: AI Chess Performanceblake2: Phoronix Test Suite v6.6.0openssl: RSA 4096-bit Performancec-ray: Total Timebuild-php: Time To Compilemafft: Multiple Sequence Alignmentcompilebench: Initial Createsqlite: Default Test DirectorymacOS 10.12Ubuntu 16.04.1 LTSUbuntu 16.04.1 LTS - Clang 3.82318.49488.28676.81112.14213.063088.6453.9396771055.86203814909.628505.5352449074034.5244.8397.7785.3641.2550.6031.971138.14259.971282.88152.11335.802001.7973.13124103903.14243097904.368838.0849418658804.36192.3773.2863.8316.12271.0327.101153.87511.49978.66200.81348.092088.4492781104.48202585759.029135.7748909235056.07134.55146.6589.7714.63270.5629.19OpenBenchmarking.org

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

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 LTS - Clang 3.8Ubuntu 16.04.1 LTS5001000150020002500SE +/- 5.29, N = 3SE +/- 19.43, N = 3SE +/- 10.80, N = 32318.491153.871138.14-pthreads -mthreads-pthreads -mthreads -lrt -lcrypt -ldl-lrt -lcrypt -ldl1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm

Primesieve

1e12 Prime Number Generation

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

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

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

Compile Bench

Test: Compile

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

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 LTS - Clang 3.8Ubuntu 16.04.1 LTS7001400210028003500SE +/- 24.81, N = 3SE +/- 5.02, N = 3SE +/- 15.59, N = 33088.642088.442001.79-pthreads -mthreads-pthreads -mthreads -lrt -lcrypt -ldl-lrt -lcrypt -ldl1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm

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

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color SpaceUbuntu 16.04.1 LTSmacOS 10.12Ubuntu 16.04.1 LTS - Clang 3.8306090120150SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31249692-fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp-lbz2 -lxml2-pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma1. (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

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeUbuntu 16.04.1 LTS - Clang 3.8macOS 10.12Ubuntu 16.04.1 LTS2004006008001000SE +/- 7.49, N = 4SE +/- 9.47, N = 4SE +/- 3.53, N = 41104.481055.86903.14

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATUbuntu 16.04.1 LTSmacOS 10.12Ubuntu 16.04.1 LTS - Clang 3.850M100M150M200M250MSE +/- 374435.39, N = 3SE +/- 251969.19, N = 3SE +/- 29792.86, N = 3243097904.36203814909.62202585759.021. (CC) gcc options: -O3 -march=native -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 LTSmacOS 10.122K4K6K8K10KSE +/- 144.38, N = 6SE +/- 149.35, N = 6SE +/- 6.70, N = 39135.778838.088505.531. (CC) gcc options: -O3

Stockfish

Total Time

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

TSCP

AI Chess Performance

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

BLAKE2

Phoronix Test Suite v6.6.0

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

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

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeUbuntu 16.04.1 LTSmacOS 10.12Ubuntu 16.04.1 LTS - Clang 3.8306090120150SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 6.24, N = 673.2897.77146.651. (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 LTSmacOS 10.12Ubuntu 16.04.1 LTS - Clang 3.820406080100SE +/- 0.11, N = 3SE +/- 0.07, N = 3SE +/- 5.07, N = 663.8385.3689.77-ldl-lpthread -liconv-ldl1. (CC) gcc options: -O2 -pedantic -lz -lm

Timed MAFFT Alignment

Multiple Sequence Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentUbuntu 16.04.1 LTS - Clang 3.8Ubuntu 16.04.1 LTSmacOS 10.12918273645SE +/- 0.05, N = 3SE +/- 2.03, N = 6SE +/- 0.07, N = 314.6316.1241.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

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