GCC 4.9 Intel Core i7 Haswell Core-AVX2 Intel Core i7-4770K Haswell testing of GCC 4.8.1 and an early GCC 4.9.0 compiler snapshot. Testing with CFLAGS/CXXFLAGS for the Intel Core i7 Haswell CPU of -O3 and -march=core-avx2. Benchmarking by Michael Larabel for a future article on phoronix.com
HTML result view exported from: https://openbenchmarking.org/result/1306266-SO-GCC49INTE20&grw&sro .
GCC 4.9 Intel Core i7 Haswell Core-AVX2 Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution GCC 4.8.1 GCC 4.9.0 20130623 Intel Core i7-4770K @ 3.50GHz (8 Cores) Intel DH87RL Intel 4th Gen Core DRAM 15360MB 240GB OCZ VERTEX3 Intel Haswell Desktop Intel Haswell HDMI VA2431 Intel Connection I217-V Ubuntu 13.10 3.10.0-999-generic (x86_64) KDE 4.10.4 X Server 1.13.3 intel 2.21.9 3.0 Mesa 9.2.0-devel (git-bbd2d57) GCC 4.8.1 + Clang 3.3 + LLVM 3.3 ext4 1920x1080 GCC 4.9.0 20130623 + Clang 3.3 + LLVM 3.3 OpenBenchmarking.org Compiler Details - --disable-multilib --enable-checking=release --enable-languages=c,c++,fortran Processor Details - Scaling Governor: acpi-cpufreq ondemand
GCC 4.9 Intel Core i7 Haswell Core-AVX2 scimark2: Composite scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation blake2: Phoronix Test Suite v4.8.0m1 encode-flac: WAV To FLAC hmmer: Pfam Database Search mafft: Multiple Sequence Alignment himeno: Poisson Pressure Solver n-queens: Elapsed Time build-imagemagick: Time To Compile primesieve: 1e12 Prime Number Generation build-linux-kernel: Time To Compile graphics-magick: Blur graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding x264: H.264 Video Encoding c-ray: Total Time smallpt: Global Illumination Renderer; 100 Samples apache: Static Web Page Serving GCC 4.8.1 GCC 4.9.0 20130623 1009.99 608.79 242.66 1204.00 1825.43 1169.09 5.71 5.37 10.47 5.47 1048.77 36.69 79.18 79.17 96.38 137 134 175 206 118 156.26 17.06 25 25415.42 1005.56 608.78 248.01 1148.95 1851.86 1170.18 5.29 5.26 10.40 5.52 1588.37 36.72 74.59 79.20 97.73 137 135 181 208 120 155.67 17.03 25 25832.90 OpenBenchmarking.org
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite GCC 4.8.1 GCC 4.9.0 20130623 200 400 600 800 1000 SE +/- 3.60, N = 4 SE +/- 0.86, N = 4 1009.99 1005.56 1. (CXX) g++ options: -O3 -march=core-avx2
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo GCC 4.8.1 GCC 4.9.0 20130623 130 260 390 520 650 SE +/- 1.29, N = 4 SE +/- 0.43, N = 4 608.79 608.78 1. (CXX) g++ options: -O3 -march=core-avx2
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform GCC 4.8.1 GCC 4.9.0 20130623 50 100 150 200 250 SE +/- 2.71, N = 4 SE +/- 0.51, N = 4 242.66 248.01 1. (CXX) g++ options: -O3 -march=core-avx2
SciMark Computational Test: Sparse Matrix Multiply OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Sparse Matrix Multiply GCC 4.8.1 GCC 4.9.0 20130623 300 600 900 1200 1500 SE +/- 8.39, N = 4 SE +/- 1.61, N = 4 1204.00 1148.95 1. (CXX) g++ options: -O3 -march=core-avx2
SciMark Computational Test: Dense LU Matrix Factorization OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Dense LU Matrix Factorization GCC 4.8.1 GCC 4.9.0 20130623 400 800 1200 1600 2000 SE +/- 17.54, N = 4 SE +/- 2.63, N = 4 1825.43 1851.86 1. (CXX) g++ options: -O3 -march=core-avx2
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation GCC 4.8.1 GCC 4.9.0 20130623 300 600 900 1200 1500 SE +/- 3.34, N = 4 SE +/- 0.00, N = 4 1169.09 1170.18 1. (CXX) g++ options: -O3 -march=core-avx2
BLAKE2 Phoronix Test Suite v4.8.0m1 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20121223 Phoronix Test Suite v4.8.0m1 GCC 4.8.1 GCC 4.9.0 20130623 1.2848 2.5696 3.8544 5.1392 6.424 SE +/- 0.08, N = 3 SE +/- 0.00, N = 3 5.71 5.29 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC GCC 4.8.1 GCC 4.9.0 20130623 1.2083 2.4166 3.6249 4.8332 6.0415 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 5.37 5.26 1. (CXX) g++ options: -O3 -march=core-avx2 -fvisibility=hidden -logg -lm
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search GCC 4.8.1 GCC 4.9.0 20130623 3 6 9 12 15 SE +/- 0.01, N = 3 SE +/- 0.03, N = 3 10.47 10.40 1. (CC) gcc options: -O3 -march=core-avx2 -pthread -lhmmer -lsquid -lm
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment GCC 4.8.1 GCC 4.9.0 20130623 1.242 2.484 3.726 4.968 6.21 SE +/- 0.13, N = 6 SE +/- 0.15, N = 6 5.47 5.52 1. (CC) gcc options: -O3 -lm -lpthread
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver GCC 4.8.1 GCC 4.9.0 20130623 300 600 900 1200 1500 SE +/- 5.10, N = 3 SE +/- 2.58, N = 3 1048.77 1588.37 1. (CC) gcc options: -O3 -march=core-avx2
N-Queens Elapsed Time OpenBenchmarking.org Seconds, Fewer Is Better N-Queens 1.0 Elapsed Time GCC 4.8.1 GCC 4.9.0 20130623 8 16 24 32 40 SE +/- 0.04, N = 3 SE +/- 0.03, N = 3 36.69 36.72 1. (CC) gcc options: -static -fopenmp -O3 -march=core-avx2
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.8.1-10 Time To Compile GCC 4.8.1 GCC 4.9.0 20130623 20 40 60 80 100 SE +/- 0.28, N = 3 SE +/- 0.11, N = 3 79.18 74.59
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 4.2 1e12 Prime Number Generation GCC 4.8.1 GCC 4.9.0 20130623 20 40 60 80 100 SE +/- 0.14, N = 3 SE +/- 0.04, N = 3 79.17 79.20 1. (CXX) g++ options: -O2 -fopenmp
Timed Linux Kernel Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Linux Kernel Compilation 3.1 Time To Compile GCC 4.8.1 GCC 4.9.0 20130623 20 40 60 80 100 SE +/- 0.56, N = 3 SE +/- 0.69, N = 3 96.38 97.73
GraphicsMagick Operation: Blur OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Blur GCC 4.8.1 GCC 4.9.0 20130623 30 60 90 120 150 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 137 137 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=core-avx2 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen GCC 4.8.1 GCC 4.9.0 20130623 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 134 135 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=core-avx2 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Resizing GCC 4.8.1 GCC 4.9.0 20130623 40 80 120 160 200 SE +/- 2.73, N = 3 SE +/- 0.00, N = 3 175 181 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=core-avx2 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: HWB Color Space GCC 4.8.1 GCC 4.9.0 20130623 50 100 150 200 250 SE +/- 0.67, N = 3 SE +/- 0.58, N = 3 206 208 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=core-avx2 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread
GraphicsMagick Operation: Local Adaptive Thresholding OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding GCC 4.8.1 GCC 4.9.0 20130623 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 118 120 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=core-avx2 -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2013-06-08 H.264 Video Encoding GCC 4.8.1 GCC 4.9.0 20130623 30 60 90 120 150 SE +/- 0.79, N = 5 SE +/- 0.90, N = 5 156.26 155.67 1. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -march=core-avx2 -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 4.8.1 GCC 4.9.0 20130623 4 8 12 16 20 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 17.06 17.03 1. (CC) gcc options: -lm -lpthread -O3 -march=core-avx2
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples GCC 4.8.1 GCC 4.9.0 20130623 6 12 18 24 30 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 25 25 1. (CXX) g++ options: -fopenmp -O3 -march=core-avx2
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.3 Static Web Page Serving GCC 4.8.1 GCC 4.9.0 20130623 6K 12K 18K 24K 30K SE +/- 262.62, N = 3 SE +/- 143.63, N = 3 25415.42 25832.90 1. (CC) gcc options: -shared -fPIC -pthread -O3 -march=core-avx2
Phoronix Test Suite v10.8.5