GCC 4.9 Snapshot Compiler Flag Tests

GCC 4.9 compiler optimization tests of an Intel Core i7 Haswell CPU and applying different CFLAGS/CXXFLAGS to look at impact of core-avx2 CPU optimizations and other x86_64 -march= options. Benchmarks by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/1308319-SO-GCC49SNAP71&grs&rdt.

GCC 4.9 Snapshot Compiler Flag TestsProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2NoconaIntel Core i7-4900MQ @ 2.80GHz (8 Cores)System76 Gazelle ProfessionalIntel Xeon E3-1200 v3/4th8192MB120GB INTEL SSDSC2CW12Intel 4th Gen Core IGP (1300MHz)Intel Haswell HDMIRealtek RTL8111/8168/8411 + Intel Centrino Advanced-N 6235Ubuntu 13.103.11.0-4-generic (x86_64)Unity 7.1.0X Server 1.14.2.901 (1.14.3 RC 1)intel 2.21.143.1 Mesa 9.2.0GCC 4.9.0 20130731ext41920x1080OpenBenchmarking.orgCompiler Details- --build=x86_64-linux-gnu --disable-browser-plugin --disable-nls --disable-werror --enable-checking=yes --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-objc-gc --enable-plugin --enable-shared --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-snap-amd64/jre --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-snap-amd64 --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-snap-amd64 --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Processor Details- Scaling Governor: acpi-cpufreq ondemand

GCC 4.9 Snapshot Compiler Flag Testsc-ray: Total Timescimark2: Monte Carloencode-mp3: WAV To MP3ttsiod-renderer: Phong Rendering With Soft-Shadow Mappingscimark2: Dense LU Matrix Factorizationhimeno: Poisson Pressure Solverencode-flac: WAV To FLACgraphics-magick: Sharpenscimark2: Sparse Matrix Multiplyn-queens: Elapsed Timescimark2: Fast Fourier Transformapache: Static Web Page Servinggraphics-magick: Resizingsmallpt: Global Illumination Renderer; 100 Samplesffmpeg: H.264 HD To NTSC DVgraphics-magick: Local Adaptive Thresholdinggraphics-magick: HWB Color Spacex264: H.264 Video Encodinggraphics-magick: Blurencode-ogg: WAV To Oggscimark2: Jacobi Successive Over-Relaxationprimesieve: 1e12 Prime Number GenerationCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona19.71595.7014.30133.952783.231770.485.311262332.2542.54335.8931291.521802913.17116200162.961497.061142.9293.1926.38595.2814.08133.362794.161868.475.591162184.6744.51329.1231007.191762913.31116201163.771497.061142.9293.1726.40594.0514.07132.852786.851803.825.591162322.3444.50315.4530875.411762913.37116201162.861497.061142.9293.1526.52596.5212.57150.072842.551746.955.091162388.3544.54316.6230666.531753013.50115200162.761497.081140.7993.1426.53595.7012.88146.092853.981747.235.211162379.6844.51319.5731064.171763013.33115201162.101497.061140.7993.1526.66698.3712.64144.872589.061695.275.291152346.9845.76318.0829830.021723013.30114198162.141487.071140.7993.31OpenBenchmarking.org

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona612182430SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 319.7126.3826.4026.5226.5326.66-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -lm -lpthread -O3

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona150300450600750SE +/- 0.48, N = 4SE +/- 0.41, N = 4SE +/- 0.47, N = 4SE +/- 0.00, N = 4SE +/- 0.48, N = 4SE +/- 0.66, N = 4595.70595.28594.05596.52595.70698.37-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3Core-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona48121620SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 514.3014.0814.0712.5712.8812.64-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -pipe -O3 -lm

TTSIOD 3D Renderer

Phong Rendering With Soft-Shadow Mapping

OpenBenchmarking.orgFPS, More Is BetterTTSIOD 3D Renderer 2.2zPhong Rendering With Soft-Shadow MappingCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona306090120150SE +/- 0.65, N = 3SE +/- 0.40, N = 3SE +/- 0.31, N = 3SE +/- 0.19, N = 3SE +/- 0.25, N = 3SE +/- 0.90, N = 3133.95133.36132.85150.07146.09144.87-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3 -fomit-frame-pointer -ffast-math -mtune=native -flto -msse -mrecip -mfpmath=sse -msse2 -mssse3 -lSDL -lstdc++

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona6001200180024003000SE +/- 3.48, N = 4SE +/- 3.50, N = 4SE +/- 1.82, N = 4SE +/- 1.89, N = 4SE +/- 4.81, N = 4SE +/- 12.57, N = 22783.232794.162786.852842.552853.982589.06-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona400800120016002000SE +/- 29.31, N = 4SE +/- 0.59, N = 3SE +/- 24.88, N = 6SE +/- 1.79, N = 3SE +/- 1.11, N = 3SE +/- 0.23, N = 31770.481868.471803.821746.951747.231695.27-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -O3

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona1.25782.51563.77345.03126.289SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 55.315.595.595.095.215.29-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3 -fvisibility=hidden -logg -lm

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3126116116116116115-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona5001000150020002500SE +/- 3.18, N = 4SE +/- 9.72, N = 4SE +/- 3.15, N = 4SE +/- 2.84, N = 4SE +/- 3.31, N = 4SE +/- 32.43, N = 42332.252184.672322.342388.352379.682346.98-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3

N-Queens

Elapsed Time

OpenBenchmarking.orgSeconds, Fewer Is BetterN-Queens 1.0Elapsed TimeCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona1020304050SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.02, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 342.5444.5144.5044.5444.5145.76-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -static -fopenmp -O3

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona70140210280350SE +/- 1.12, N = 4SE +/- 1.63, N = 4SE +/- 0.73, N = 4SE +/- 1.20, N = 4SE +/- 0.57, N = 4SE +/- 0.48, N = 4335.89329.12315.45316.62319.57318.08-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.3Static Web Page ServingCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona7K14K21K28K35KSE +/- 88.76, N = 3SE +/- 162.72, N = 3SE +/- 191.20, N = 3SE +/- 225.32, N = 3SE +/- 43.24, N = 3SE +/- 111.38, N = 331291.5231007.1930875.4130666.5331064.1729830.02-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -shared -fPIC -pthread -O3

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona4080120160200SE +/- 0.67, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3180176176175176172-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona714212835SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3292929303030-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -fopenmp -O3

FFmpeg

H.264 HD To NTSC DV

OpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 2.0H.264 HD To NTSC DVCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona3691215SE +/- 0.05, N = 3SE +/- 0.04, N = 3SE +/- 0.07, N = 3SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 313.1713.3113.3713.5013.3313.30-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lasound -lSDL -lm -pthread -lbz2 -O3 -std=c99 -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF -MT

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive ThresholdingCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona306090120150SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3116116116115115114-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

GraphicsMagick

Operation: HWB Color Space

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona4080120160200SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3200201201200201198-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

x264

H.264 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2013-06-08H.264 Video EncodingCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona4080120160200SE +/- 0.32, N = 5SE +/- 0.36, N = 5SE +/- 0.58, N = 5SE +/- 0.56, N = 5SE +/- 0.45, N = 5SE +/- 0.30, N = 5162.96163.77162.86162.76162.10162.14-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize

GraphicsMagick

Operation: Blur

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: BlurCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3149149149149149148-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

Ogg Encoding

WAV To Ogg

OpenBenchmarking.orgSeconds, Fewer Is BetterOgg Encoding 1.3.0WAV To OggCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona246810SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 57.067.067.067.087.067.07-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CC) gcc options: -O2 -ffast-math -fsigned-char -O3 -lm -logg

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona2004006008001000SE +/- 1.07, N = 4SE +/- 1.07, N = 4SE +/- 1.07, N = 4SE +/- 1.07, N = 4SE +/- 1.07, N = 4SE +/- 1.07, N = 41142.921142.921142.921140.791140.791140.79-march=core-avx2-march=core-avx-i-march=corei7-avx-march=corei7-march=core2-march=nocona1. (CXX) g++ options: -O3

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 4.21e12 Prime Number GenerationCore-AVX2Core-AVX-ICorei7-AVXCorei7Core2Nocona20406080100SE +/- 0.44, N = 3SE +/- 0.43, N = 3SE +/- 0.35, N = 3SE +/- 0.37, N = 3SE +/- 0.41, N = 3SE +/- 0.33, N = 393.1993.1793.1593.1493.1593.311. (CXX) g++ options: -O2 -fopenmp


Phoronix Test Suite v10.8.5