GCC 10 Compiler Optimization Benchmarks

Intel Cascade Lake compiler optimization benchmarks on GCC 10.

HTML result view exported from: https://openbenchmarking.org/result/2005237-PTS-COMPS68203&rdt&grr.

GCC 10 Compiler Optimization BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolution-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O0Intel Core i9-10980XE @ 4.80GHz (18 Cores / 36 Threads)ASRock X299 Steel Legend (P1.30 BIOS)Intel Sky Lake-E DMI3 Registers32GBSamsung SSD 970 PRO 512GBNVIDIA NV132 11GBRealtek ALC1220ASUS MG28UIntel I219-V + Intel I211Ubuntu 20.045.4.0-29-generic (x86_64)GNOME Shell 3.36.1X Server 1.20.8modesetting 1.20.84.3 Mesa 20.0.4GCC 10.1.0ext43840x2160OpenBenchmarking.orgEnvironment Details- -O3 -march=native: CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native"- -O3 -march=native -flto: CXXFLAGS="-O3 -march=native -flto" CFLAGS="-O3 -march=native -flto"- -O3: CXXFLAGS=-O3 CFLAGS=-O3- -O2: CXXFLAGS=-O2 CFLAGS=-O2- -Ofast -march=native: CXXFLAGS="-Ofast -march=native" CFLAGS="-Ofast -march=native"- -O0: CXXFLAGS=-O0 CFLAGS=-O0Compiler Details- --disable-multilib --enable-checking=releaseProcessor Details- Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012cPython Details- Python 3.8.2Security Details- itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Mitigation of TSX disabled

GCC 10 Compiler Optimization Benchmarkslczero: Eigenyafaray: Total Time For Sample Scenecryptopp: Keyed Algorithmslczero: Randcryptopp: Integer + Elliptic Curve Public Key Algorithmspgbench: Buffer Test - Normal Load - Read Onlypgbench: Buffer Test - Normal Load - Read Writeblosc: blosclzcryptopp: Unkeyed Algorithmsgraphics-magick: Rotatec-ray: Total Time - 4K, 16 Rays Per Pixelhimeno: Poisson Pressure Solvernginx: Static Web Page Servingpovray: Trace Timeencode-flac: WAV To FLACencode-mp3: WAV To MP3lammps: Rhodopsin Protein-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O0926101.576751.5636961366085809.052464476778.1487418029.0808837778.0392.23647983630.4594771.41889852346.1727.4998.4918.61212.223948106.387699.7981291637735915.789365491896.15608710194.0305207829.8390.58738585730.2444774.03166352047.2828.8838.3558.52812.427927105.643712.0086441421985679.407301481599.7210519922.9104268202.7359.27665779438.0044015.85758651596.8227.4789.3689.41211.887924101.473660.4614821572895718.126732483412.7471599637.5361678234.3356.57799784369.6964150.11478751647.9928.9999.33111.19811.899934107.122751.0143351576295906.810060482929.7046399468.6259808204.7394.30279781327.1345065.07291751501.6227.7298.3358.65612.2323104.64795.085347183001659.383523317104.9731199648.2944298216.9102.247576727113.576597.53392049414.8153.00825.15011.844OpenBenchmarking.org

LeelaChessZero

Backend: Eigen

OpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.25Backend: Eigen-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O02004006008001000SE +/- 10.27, N = 3SE +/- 3.48, N = 3SE +/- 3.79, N = 3SE +/- 9.35, N = 3SE +/- 15.57, N = 39269489279249343-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native1. (CXX) g++ options: -pthread

YafaRay

Total Time For Sample Scene

OpenBenchmarking.orgSeconds, Fewer Is BetterYafaRay 3.4.1Total Time For Sample Scene-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O020406080100SE +/- 1.06, N = 15SE +/- 2.17, N = 15SE +/- 1.65, N = 15SE +/- 0.93, N = 3SE +/- 1.65, N = 15SE +/- 1.76, N = 15101.58106.39105.64101.47107.12104.651. (CXX) g++ options: -std=c++11 -O3 -ffast-math -rdynamic -ldl -lImath -lIlmImf -lIex -lHalf -lz -lIlmThread -lxml2 -lfreetype -lpthread

Crypto++

Test: Keyed Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Keyed Algorithms-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O0160320480640800SE +/- 0.10, N = 3SE +/- 0.62, N = 3SE +/- 0.09, N = 3SE +/- 0.63, N = 3SE +/- 0.38, N = 3SE +/- 0.01, N = 3751.56699.80712.01660.46751.0195.09-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CXX) g++ options: -fPIC -pthread -pipe

LeelaChessZero

Backend: Random

OpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.25Backend: Random-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O040K80K120K160K200KSE +/- 176.21, N = 3SE +/- 157.19, N = 3SE +/- 147.22, N = 3SE +/- 77.06, N = 3SE +/- 208.58, N = 3SE +/- 23.03, N = 313660816377314219815728915762918300-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native1. (CXX) g++ options: -pthread

Crypto++

Test: Integer + Elliptic Curve Public Key Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Integer + Elliptic Curve Public Key Algorithms-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O013002600390052006500SE +/- 1.31, N = 3SE +/- 7.20, N = 3SE +/- 6.99, N = 3SE +/- 2.28, N = 3SE +/- 3.05, N = 3SE +/- 1.08, N = 35809.055915.795679.415718.135906.811659.38-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CXX) g++ options: -fPIC -pthread -pipe

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Only

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read Only-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O0110K220K330K440K550KSE +/- 418.58, N = 3SE +/- 426.27, N = 3SE +/- 1024.30, N = 3SE +/- 839.46, N = 3SE +/- 1005.62, N = 3SE +/- 406.58, N = 3476778.15491896.16481599.72483412.75482929.70317104.97-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CC) gcc options: -fno-strict-aliasing -fwrapv -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read Write-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O02K4K6K8K10KSE +/- 27.74, N = 3SE +/- 40.21, N = 3SE +/- 49.95, N = 3SE +/- 75.57, N = 3SE +/- 80.17, N = 3SE +/- 57.04, N = 38029.0810194.039922.919637.549468.639648.29-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CC) gcc options: -fno-strict-aliasing -fwrapv -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

C-Blosc

Compressor: blosclz

OpenBenchmarking.orgMB/s, More Is BetterC-Blosc 2.0 Beta 5Compressor: blosclz-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O02K4K6K8K10KSE +/- 7.31, N = 3SE +/- 2.64, N = 3SE +/- 9.76, N = 3SE +/- 6.34, N = 3SE +/- 7.13, N = 3SE +/- 4.37, N = 37778.07829.88202.78234.38204.78216.9-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CXX) g++ options: -rdynamic

Crypto++

Test: Unkeyed Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Unkeyed Algorithms-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O090180270360450SE +/- 0.20, N = 3SE +/- 0.10, N = 3SE +/- 0.17, N = 3SE +/- 0.28, N = 3SE +/- 0.14, N = 3SE +/- 0.06, N = 3392.24390.59359.28356.58394.30102.25-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CXX) g++ options: -fPIC -pthread -pipe

GraphicsMagick

Operation: Rotate

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Rotate-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O02004006008001000SE +/- 9.94, N = 3SE +/- 10.90, N = 3SE +/- 10.05, N = 4SE +/- 6.12, N = 3SE +/- 13.72, N = 3SE +/- 10.76, N = 4836857794843813727-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CC) gcc options: -fopenmp -pthread -ljbig -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread

C-Ray

Total Time - 4K, 16 Rays Per Pixel

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per Pixel-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O0306090120150SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 330.4630.2438.0069.7027.13113.58-march=native-march=native -flto-O2-Ofast -march=native-O01. (CC) gcc options: -lm -lpthread -O3

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O011002200330044005500SE +/- 7.02, N = 3SE +/- 7.91, N = 3SE +/- 10.11, N = 3SE +/- 5.58, N = 3SE +/- 8.26, N = 3SE +/- 0.19, N = 34771.424774.034015.864150.115065.07597.53-march=native-march=native -flto-O2-Ofast -march=native1. (CC) gcc options: -O3 -mavx2

NGINX Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.9.9Static Web Page Serving-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O011K22K33K44K55KSE +/- 72.32, N = 3SE +/- 53.44, N = 3SE +/- 89.67, N = 3SE +/- 32.36, N = 3SE +/- 214.53, N = 3SE +/- 18.42, N = 352346.1752047.2851596.8251647.9951501.6249414.81-flto-O2-Ofast-O01. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native

POV-Ray

Trace Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.7.0.7Trace Time-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native714212835SE +/- 0.05, N = 3SE +/- 0.49, N = 3SE +/- 0.06, N = 3SE +/- 0.33, N = 3SE +/- 0.11, N = 327.5028.8827.4829.0027.73-flto-O2-Ofast1. (CXX) g++ options: -pipe -O3 -ffast-math -march=native -pthread -lSM -lICE -lX11 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -lboost_system

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLAC-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01224364860SE +/- 0.018, N = 5SE +/- 0.012, N = 5SE +/- 0.015, N = 5SE +/- 0.029, N = 5SE +/- 0.009, N = 5SE +/- 0.039, N = 58.4918.3559.3689.3318.33553.008-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O01. (CXX) g++ options: -fvisibility=hidden -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O0612182430SE +/- 0.007, N = 3SE +/- 0.009, N = 3SE +/- 0.010, N = 3SE +/- 0.009, N = 3SE +/- 0.005, N = 3SE +/- 0.015, N = 38.6128.5289.41211.1988.65625.150-march=native-march=native -flto-O2-Ofast -march=native-O01. (CC) gcc options: -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -lncurses -lm

LAMMPS Molecular Dynamics Simulator

Model: Rhodopsin Protein

OpenBenchmarking.orgns/day, More Is BetterLAMMPS Molecular Dynamics Simulator 9Jan2020Model: Rhodopsin Protein-O3 -march=native-O3 -march=native -flto-O3-O2-Ofast -march=native-O03691215SE +/- 0.09, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.05, N = 3SE +/- 0.09, N = 3SE +/- 0.06, N = 312.2212.4311.8911.9012.2311.84-march=native-march=native -flto-O2-Ofast -march=native-O01. (CXX) g++ options: -O3 -rdynamic -ljpeg -lpng -lz -lfftw3 -lm


Phoronix Test Suite v10.8.5