Fedora 21 GCC Compiler Optimizations

Compiler optimization benchmarks by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1411071-LI-FEDORA21G97&grt&sro.

Fedora 21 GCC Compiler OptimizationsProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen Resolution-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=nativeIntel Xeon E5-1680 v3 @ 3.80GHz (16 Cores)MSI X99S SLI PLUS (MS-7885) v1.0Intel Xeon E5 v3/Core16384MB80GB INTEL SSDSCKGW08eVGA NVIDIA GeForce GT 740 1024MBIntel C610/X99VE228Intel ConnectionFedora 213.18.0-0.rc3.git2.2.fc22.1.x86_64 (x86_64)GNOME Shell 3.14.1.5X Server 1.16.1nouveau 1.0.103.3 Mesa 10.3.2 Gallium 0.4GCC 4.9.2 20141101 + LLVM 3.4.2ext41920x1080OpenBenchmarking.orgCompiler Details- --build=x86_64-redhat-linux --disable-libgcj --disable-libunwind-exceptions --enable-__cxa_atexit --enable-bootstrap --enable-checking=release --enable-gnu-indirect-function --enable-gnu-unique-object --enable-initfini-array --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --mandir=/usr/share/man --with-arch_32=i686 --with-linker-hash-style=gnu --with-tune=generic Processor Details- Scaling Governor: intel_pstate powersaveSystem Details- SELinux: Enabled.

Fedora 21 GCC Compiler Optimizationsc-ray: Total Timeencode-flac: WAV To FLACgcrypt: CAMELLIA256-ECB Ciphergraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverencode-mp3: WAV To MP3primesieve: 1e12 Prime Number Generationscimark2: Monte Carloscimark2: Fast Fourier Transformbuild-apache: Time To Compile-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native36.2720.8973176660989819461.4234.07214.14599.65443.4817.6323.785.581897100130177144921996.7212.9145.86600.06472.2830.3413.694.771972104128172141921997.6012.3245.90591.22444.8832.729.333.931792138141182168921909.1011.3843.20589.31472.9826.829.3219972222.8743.16673.31467.818.463.89137141182197922119.0610.4443.19602.01458.2826.39OpenBenchmarking.org

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native816243240SE +/- 0.27, N = 3SE +/- 0.23, N = 3SE +/- 0.28, N = 6SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 336.2723.7813.699.339.328.46-O0-O2-march=native-march=native -flto-Ofast -march=native1. (CC) gcc options: -lm -lpthread -O3

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLAC-O0-O2-O3-O3 -march=native-Ofast -march=native510152025SE +/- 0.03, N = 5SE +/- 0.03, N = 5SE +/- 0.02, N = 5SE +/- 0.03, N = 5SE +/- 0.03, N = 520.895.584.773.933.89-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CXX) g++ options: -fvisibility=hidden -lm

Gcrypt Library

CAMELLIA256-ECB Cipher

OpenBenchmarking.orgMicroseconds, Fewer Is BetterGcrypt Library 1.4.4CAMELLIA256-ECB Cipher-O0-O2-O3-O3 -march=native-O3 -march=native -flto16003200480064008000SE +/- 12.02, N = 3SE +/- 34.80, N = 3SE +/- 150.41, N = 6SE +/- 28.33, N = 6SE +/- 26.79, N = 673171897197217921997-O0-O2-O3-O3 -march=native-O3 -march=native -flto1. (CC) gcc options: -fvisibility=hidden

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Blur-O0-O2-O3-O3 -march=native-Ofast -march=native306090120150SE +/- 1.15, N = 3SE +/- 3.53, N = 6SE +/- 1.86, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 366100104138137-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CC) gcc options: -std=gnu99 -fopenmp -pthread -ltiff -lfreetype -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Sharpen-O0-O2-O3-O3 -march=native-Ofast -march=native306090120150SE +/- 0.33, N = 3SE +/- 0.67, N = 3SE +/- 0.88, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 360130128141141-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CC) gcc options: -std=gnu99 -fopenmp -pthread -ltiff -lfreetype -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Resizing-O0-O2-O3-O3 -march=native-Ofast -march=native4080120160200SE +/- 0.33, N = 3SE +/- 0.88, N = 3SE +/- 0.58, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 398177172182182-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CC) gcc options: -std=gnu99 -fopenmp -pthread -ltiff -lfreetype -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color Space-O0-O2-O3-O3 -march=native-Ofast -march=native4080120160200SE +/- 2.02, N = 6SE +/- 2.43, N = 6SE +/- 2.03, N = 3SE +/- 2.42, N = 5SE +/- 1.20, N = 398144141168197-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CC) gcc options: -std=gnu99 -fopenmp -pthread -ltiff -lfreetype -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive Thresholding-O0-O2-O3-O3 -march=native-Ofast -march=native20406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 31992929292-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CC) gcc options: -std=gnu99 -fopenmp -pthread -ltiff -lfreetype -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native5001000150020002500SE +/- 6.01, N = 3SE +/- 3.75, N = 3SE +/- 1.73, N = 3SE +/- 2.07, N = 3SE +/- 1.97, N = 3SE +/- 0.90, N = 3461.421996.721997.601909.102222.872119.06-O0-O2-march=native-march=native -flto-Ofast -march=native1. (CC) gcc options: -O3

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3-O0-O2-O3-O3 -march=native-Ofast -march=native816243240SE +/- 0.04, N = 5SE +/- 0.13, N = 5SE +/- 0.03, N = 5SE +/- 0.01, N = 5SE +/- 0.03, N = 534.0712.9112.3211.3810.44-O0-O2-O3-O3 -march=native-Ofast -march=native1. (CC) gcc options: -pipe -lncurses -lm

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 5.41e12 Prime Number Generation-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native50100150200250SE +/- 0.08, N = 3SE +/- 0.14, N = 3SE +/- 0.22, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3214.1445.8645.9043.2043.1643.19-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native1. (CXX) g++ options: -fopenmp

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte Carlo-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native150300450600750SE +/- 0.18, N = 4SE +/- 0.05, N = 4SE +/- 8.40, N = 4SE +/- 12.70, N = 4SE +/- 0.02, N = 4SE +/- 0.01, N = 4599.65600.06591.22589.31673.31602.01-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native1. (CXX) g++ options:

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier Transform-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native100200300400500SE +/- 1.80, N = 4SE +/- 2.76, N = 4SE +/- 0.68, N = 4SE +/- 2.49, N = 4SE +/- 1.02, N = 4SE +/- 3.16, N = 4443.48472.28444.88472.98467.81458.28-O0-O2-O3-O3 -march=native-O3 -march=native -flto-Ofast -march=native1. (CXX) g++ options:

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.7Time To Compile-O0-O2-O3-O3 -march=native-Ofast -march=native816243240SE +/- 0.28, N = 3SE +/- 0.68, N = 6SE +/- 0.66, N = 6SE +/- 0.08, N = 3SE +/- 0.20, N = 317.6330.3432.7226.8226.39


Phoronix Test Suite v10.8.5