GCC 8.1 Skylake Intel Linux Compiler Benchmarking

GCC compiler benchmarks for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1805122-AR-GCC81SKYL16.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 7.3.0GCC 8.1.0 -O2 -O3 -O3 -march=native -O2 -O3 -O3 -march=nativeIntel Xeon E3-1280 v5 @ 4.00GHz (4 Cores / 8 Threads)MSI Z170A SLI PLUS (MS-7998) v1.0 (2.90 BIOS)Intel Skylake16384MB256GB TOSHIBA-RD400Sapphire AMD Radeon RX 470/480 4096MBRealtek ALC1150ASUS PB278Intel ConnectionUbuntu 18.044.15.0-20-generic (x86_64)GNOME Shell 3.28.1modesetting 1.19.64.5 Mesa 18.0.0-rc5 (LLVM 6.0.0)GCC 7.3.0ext42560x1440GCC 8.1.0OpenBenchmarking.orgEnvironment Details- GCC 7.3.0: -O2: CXXFLAGS=-O2 CFLAGS=-O2- GCC 7.3.0: -O3: CXXFLAGS=-O3 CFLAGS=-O3- GCC 7.3.0: -O3 -march=native: CXXFLAGS=-O3-march=native CFLAGS=-O3-march=native- GCC 8.1.0: -O2: CXXFLAGS=-O2 CFLAGS=-O2- GCC 8.1.0: -O3: CXXFLAGS=-O3 CFLAGS=-O3- GCC 8.1.0: -O3 -march=native: CXXFLAGS=-O3-march=native CFLAGS=-O3-march=nativeCompiler Details- --disable-multilib --enable-checking=releaseProcessor Details- Scaling Governor: intel_pstate performanceSecurity Details- KPTI + __user pointer sanitization + Full generic retpoline Protection

hmmer: Pfam Database Searchfhourstones: Complex Connect-4 Solvingscimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationtscp: AI Chess Performancegraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverebizzy: build-linux-kernel: Time To Compilebuild-php: Time To Compilec-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesstockfish: Total Timeaobench: 2048 x 2048 - Total Timebullet: Raytestsbullet: 3000 Fallbullet: 1000 Stackbullet: 1000 Convexbullet: 136 Ragdollsbullet: Prim Trimeshencode-flac: WAV To FLACencode-mp3: WAV To MP3redis: LPOPredis: SADDredis: LPUSHredis: GETredis: SETGCC 7.3.0GCC 8.1.0 -O2 -O3 -O3 -march=native -O2 -O3 -O3 -march=native7.8112611.071796.68818.94407.092731.143889.361136.8813271751651362042331012561.40248578130.6471.2535.9121314941.762.564.174.754.522.660.949.2511.582872124.812204451.101850514.602711562.631957143.127.4912538.732239.82826.97425.552537.875903.691505.0113227571661372062341012661.53247940130.6481.3222.4921315844.562.574.244.804.472.670.949.299.642853599.692288385.251804032.712757552.081926901.507.4412584.232781.27835.64443.582768.087846.182012.8613252731751512152421022854.94261466130.6882.6516.6319315137.972.464.034.434.292.540.918.349.362893829.082262466.421810197.252798751.701938278.047.8313067.101752.10842.16415.652718.073637.071147.5612785011641382022291042662.17239486137.1275.9036.5220316042.432.614.194.784.702.740.959.3511.132941501.002291998.081813778.952708624.691972468.426.0213136.102216.86822.86427.552831.955495.651506.2912814761651372022281042636.35234448137.0185.3019.8420318740.812.564.214.794.482.730.959.309.372941294.832219115.401877458.252736827.292040536.675.7513043.832663.65748.73435.202690.097431.372012.8312820731661302092341052707.44252201137.1382.2214.9319320741.492.554.114.534.292.670.938.609.232912891.172204637.911842536.962822505.671950221.67OpenBenchmarking.org

Timed HMMer Search

Pfam Database Search

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database Search-O2-O3-O3 -march=native246810SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 37.817.497.447.836.025.751. (CC) gcc options: -pthread -lhmmer -lsquid -lm

Fhourstones

Complex Connect-4 Solving

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgKpos / sec, More Is BetterFhourstones 3.1Complex Connect-4 Solving-O2-O3-O3 -march=native3K6K9K12K15KSE +/- 22.25, N = 3SE +/- 79.19, N = 3SE +/- 83.13, N = 3SE +/- 74.27, N = 3SE +/- 17.00, N = 3SE +/- 61.72, N = 312611.0712538.7312584.2313067.1013136.1013043.831. (CC) gcc options: -O3

SciMark

Computational Test: Composite

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Composite-O2-O3-O3 -march=native6001200180024003000SE +/- 9.07, N = 3SE +/- 31.19, N = 3SE +/- 13.57, N = 3SE +/- 21.54, N = 3SE +/- 21.83, N = 3SE +/- 52.29, N = 31796.682239.822781.271752.102216.862663.651. (CC) gcc options: -lm

SciMark

Computational Test: Monte Carlo

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte Carlo-O2-O3-O3 -march=native2004006008001000SE +/- 4.60, N = 3SE +/- 0.53, N = 3SE +/- 0.05, N = 3SE +/- 0.66, N = 3SE +/- 39.17, N = 3SE +/- 17.27, N = 3818.94826.97835.64842.16822.86748.731. (CC) gcc options: -lm

SciMark

Computational Test: Fast Fourier Transform

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier Transform-O2-O3-O3 -march=native100200300400500SE +/- 0.12, N = 3SE +/- 1.43, N = 3SE +/- 0.42, N = 3SE +/- 9.48, N = 3SE +/- 1.47, N = 3SE +/- 0.49, N = 3407.09425.55443.58415.65427.55435.201. (CC) gcc options: -lm

SciMark

Computational Test: Sparse Matrix Multiply

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix Multiply-O2-O3-O3 -march=native6001200180024003000SE +/- 2.56, N = 3SE +/- 142.05, N = 3SE +/- 43.23, N = 3SE +/- 113.64, N = 3SE +/- 8.45, N = 3SE +/- 228.39, N = 32731.142537.872768.082718.072831.952690.091. (CC) gcc options: -lm

SciMark

Computational Test: Dense LU Matrix Factorization

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix Factorization-O2-O3-O3 -march=native2K4K6K8K10KSE +/- 39.94, N = 3SE +/- 22.42, N = 3SE +/- 24.35, N = 3SE +/- 3.80, N = 3SE +/- 59.94, N = 3SE +/- 42.27, N = 33889.365903.697846.183637.075495.657431.371. (CC) gcc options: -lm

SciMark

Computational Test: Jacobi Successive Over-Relaxation

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-Relaxation-O2-O3-O3 -march=native400800120016002000SE +/- 2.97, N = 3SE +/- 0.82, N = 3SE +/- 0.76, N = 3SE +/- 0.90, N = 3SE +/- 1.78, N = 3SE +/- 0.90, N = 31136.881505.012012.861147.561506.292012.831. (CC) gcc options: -lm

TSCP

AI Chess Performance

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess Performance-O2-O3-O3 -march=native300K600K900K1200K1500KSE +/- 3813.10, N = 5SE +/- 2157.50, N = 5SE +/- 594.40, N = 5SE +/- 597.00, N = 5SE +/- 731.17, N = 51327175132275713252731278501128147612820731. (CC) gcc options: -O3 -march=native

GraphicsMagick

Operation: Blur

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.28Operation: Blur-O2-O3-O3 -march=native4080120160200SE +/- 0.33, N = 3SE +/- 0.33, N = 31651661751641651661. (CC) gcc options: -fopenmp -pthread -lXext -lSM -lICE -lX11 -lz -lm -ldl -lpthread

GraphicsMagick

Operation: Sharpen

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.28Operation: Sharpen-O2-O3-O3 -march=native306090120150SE +/- 0.33, N = 31361371511381371301. (CC) gcc options: -fopenmp -pthread -lXext -lSM -lICE -lX11 -lz -lm -ldl -lpthread

GraphicsMagick

Operation: Resizing

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.28Operation: Resizing-O2-O3-O3 -march=native50100150200250SE +/- 0.33, N = 32042062152022022091. (CC) gcc options: -fopenmp -pthread -lXext -lSM -lICE -lX11 -lz -lm -ldl -lpthread

GraphicsMagick

Operation: HWB Color Space

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.28Operation: HWB Color Space-O2-O3-O3 -march=native50100150200250SE +/- 0.67, N = 32332342422292282341. (CC) gcc options: -fopenmp -pthread -lXext -lSM -lICE -lX11 -lz -lm -ldl -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.28Operation: Local Adaptive Thresholding-O2-O3-O3 -march=native20406080100SE +/- 0.33, N = 31011011021041041051. (CC) gcc options: -fopenmp -pthread -lXext -lSM -lICE -lX11 -lz -lm -ldl -lpthread

Himeno Benchmark

Poisson Pressure Solver

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O2-O3-O3 -march=native6001200180024003000SE +/- 9.31, N = 3SE +/- 7.00, N = 3SE +/- 7.06, N = 3SE +/- 3.43, N = 3SE +/- 12.97, N = 3SE +/- 30.23, N = 32561.402661.532854.942662.172636.352707.441. (CC) gcc options: -O3 -mavx2

ebizzy

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgRecords/s, More Is Betterebizzy 0.3-O2-O3-O3 -march=native60K120K180K240K300KSE +/- 6214.90, N = 6SE +/- 7579.93, N = 6SE +/- 5134.77, N = 3SE +/- 5888.72, N = 6SE +/- 10499.70, N = 6SE +/- 3594.96, N = 62485782479402614662394862344482522011. (CC) gcc options: -pthread -lpthread -O3 -march=native

Timed Linux Kernel Compilation

Time To Compile

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Linux Kernel Compilation 4.13Time To Compile-O2-O3-O3 -march=native306090120150SE +/- 0.70, N = 3SE +/- 0.79, N = 3SE +/- 0.79, N = 3SE +/- 0.93, N = 3SE +/- 0.79, N = 3SE +/- 0.77, N = 3130.64130.64130.68137.12137.01137.13

Timed PHP Compilation

Time To Compile

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 7.1.9Time To Compile-O2-O3-O3 -march=native20406080100SE +/- 0.11, N = 3SE +/- 0.03, N = 3SE +/- 0.14, N = 3SE +/- 0.03, N = 3SE +/- 0.32, N = 3SE +/- 0.12, N = 371.2581.3282.6575.9085.3082.221. (CC) gcc options: -pedantic -ldl -lz -lm

C-Ray

Total Time

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-O2-O3-O3 -march=native816243240SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 335.9122.4916.6336.5219.8414.931. (CC) gcc options: -lm -lpthread -O3

Smallpt

Global Illumination Renderer; 100 Samples

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 Samples-O2-O3-O3 -march=native5101520252121192020191. (CXX) g++ options: -fopenmp

Stockfish

Total Time

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgms, Fewer Is BetterStockfish 2014-11-26Total Time-O2-O3-O3 -march=native7001400210028003500SE +/- 2.96, N = 3SE +/- 6.17, N = 3SE +/- 2.03, N = 3SE +/- 39.25, N = 3SE +/- 40.95, N = 33149315831513160318732071. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt -flto

AOBench

Size: 2048 x 2048 - Total Time

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterAOBenchSize: 2048 x 2048 - Total Time-O2-O3-O3 -march=native1020304050SE +/- 0.05, N = 3SE +/- 1.02, N = 6SE +/- 0.27, N = 3SE +/- 0.40, N = 3SE +/- 0.16, N = 3SE +/- 0.50, N = 341.7644.5637.9742.4340.8141.491. (CC) gcc options: -lm -O3

Bullet Physics Engine

Test: Raytests

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Raytests-O2-O3-O3 -march=native0.58731.17461.76192.34922.9365SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.04, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 32.562.572.462.612.562.551. (CXX) g++ options: -O3 -rdynamic

Bullet Physics Engine

Test: 3000 Fall

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 Fall-O2-O3-O3 -march=native0.9541.9082.8623.8164.77SE +/- 0.01, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 34.174.244.034.194.214.111. (CXX) g++ options: -O3 -rdynamic

Bullet Physics Engine

Test: 1000 Stack

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Stack-O2-O3-O3 -march=native1.082.163.244.325.4SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 34.754.804.434.784.794.531. (CXX) g++ options: -O3 -rdynamic

Bullet Physics Engine

Test: 1000 Convex

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Convex-O2-O3-O3 -march=native1.05752.1153.17254.235.2875SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.17, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 34.524.474.294.704.484.291. (CXX) g++ options: -O3 -rdynamic

Bullet Physics Engine

Test: 136 Ragdolls

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 Ragdolls-O2-O3-O3 -march=native0.61651.2331.84952.4663.0825SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.00, N = 3SE +/- 0.07, N = 32.662.672.542.742.732.671. (CXX) g++ options: -O3 -rdynamic

Bullet Physics Engine

Test: Prim Trimesh

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim Trimesh-O2-O3-O3 -march=native0.21380.42760.64140.85521.069SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 30.940.940.910.950.950.931. (CXX) g++ options: -O3 -rdynamic

FLAC Audio Encoding

WAV To FLAC

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLAC-O2-O3-O3 -march=native3691215SE +/- 0.02, N = 5SE +/- 0.05, N = 5SE +/- 0.02, N = 5SE +/- 0.02, N = 5SE +/- 0.03, N = 5SE +/- 0.03, N = 59.259.298.349.359.308.601. (CXX) g++ options: -fvisibility=hidden -lm

LAME MP3 Encoding

WAV To MP3

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3-O2-O3-O3 -march=native3691215SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.04, N = 3SE +/- 0.03, N = 311.589.649.3611.139.379.231. (CC) gcc options: -lm

Redis

Test: LPOP

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 4.0.8Test: LPOP-O2-O3-O3 -march=native600K1200K1800K2400K3000KSE +/- 49884.02, N = 4SE +/- 48634.94, N = 4SE +/- 35275.67, N = 3SE +/- 21925.28, N = 3SE +/- 13164.74, N = 3SE +/- 19853.76, N = 32872124.812853599.692893829.082941501.002941294.832912891.171. (CC) gcc options: -ggdb -rdynamic -lm -ldl -pthread

Redis

Test: SADD

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 4.0.8Test: SADD-O2-O3-O3 -march=native500K1000K1500K2000K2500KSE +/- 48997.77, N = 6SE +/- 7975.58, N = 3SE +/- 5107.08, N = 3SE +/- 14093.83, N = 3SE +/- 33639.36, N = 6SE +/- 37788.83, N = 42204451.102288385.252262466.422291998.082219115.402204637.911. (CC) gcc options: -ggdb -rdynamic -lm -ldl -pthread

Redis

Test: LPUSH

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 4.0.8Test: LPUSH-O2-O3-O3 -march=native400K800K1200K1600K2000KSE +/- 24160.04, N = 6SE +/- 7607.16, N = 3SE +/- 26525.33, N = 3SE +/- 31678.57, N = 3SE +/- 10223.89, N = 3SE +/- 28857.09, N = 31850514.601804032.711810197.251813778.951877458.251842536.961. (CC) gcc options: -ggdb -rdynamic -lm -ldl -pthread

Redis

Test: GET

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 4.0.8Test: GET-O2-O3-O3 -march=native600K1200K1800K2400K3000KSE +/- 57738.92, N = 6SE +/- 16528.23, N = 3SE +/- 41145.11, N = 5SE +/- 45612.13, N = 4SE +/- 42024.07, N = 6SE +/- 20710.60, N = 32711562.632757552.082798751.702708624.692736827.292822505.671. (CC) gcc options: -ggdb -rdynamic -lm -ldl -pthread

Redis

Test: SET

GCC 7.3.0GCC 8.1.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 4.0.8Test: SET-O2-O3-O3 -march=native400K800K1200K1600K2000KSE +/- 13882.93, N = 3SE +/- 10718.17, N = 3SE +/- 16794.31, N = 3SE +/- 8984.89, N = 3SE +/- 32191.59, N = 6SE +/- 29852.13, N = 31957143.121926901.501938278.041972468.422040536.671950221.671. (CC) gcc options: -ggdb -rdynamic -lm -ldl -pthread


Phoronix Test Suite v10.8.4