GCC 4.x Benchmarking Intel Core i7

Benchmarking of GCC 4.2 through GCC 4.8 when building the compiler the same and setting CFLAGS/CXXFLAGS of -O3 and -march=native prior to test installation and execution. Benchmarking for a future article on Phoronix.com by Michael Larabel.

HTML result view exported from: https://openbenchmarking.org/result/1207067-PTS-GCC4BENC69&rdt.

GCC 4.x Benchmarking Intel Core i7ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4Intel Core i7 720Q @ 1.60GHz (8 Cores)LENOVO 4318CTOIntel Core DMI4096MB160GB INTEL SSDSA2M160NVIDIA Quadro FX 880MConexant CX20585Intel 82577LM Gigabit Connection + Intel Centrino Ultimate-N 6300Ubuntu 12.103.5.0-2-generic (x86_64)Unity 5.12.0X Server 1.11.3NVIDIA 302.173.3.0GCC 4.8.0 20120701ext41600x900GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4OpenBenchmarking.orgCompiler Details- --enable-checking=release --enable-languages=c,c++,fortranProcessor Details- Scaling Governor: ondemandSystem Details- Compiz was running on this system.

GCC 4.x Benchmarking Intel Core i7npb: LU.Anpb: UA.Alammps: Rhodopsin Proteinffte: N=64, 1D Complex FFT Routinefhourstones: Complex Connect-4 Solvingscimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationjohn-the-ripper: Blowfishttsiod-renderer: Phong Rendering With Soft-Shadow Mappingvpxenc: vpxencx264: H.264 Video Encodinggraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: Local Adaptive Thresholdingcompress-7zip: Compress Speed Testc-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplescrafty: Elapsed Timeencode-flac: WAV To FLACencode-mp3: WAV To MP3povray: Total Timetachyon: Total Timeopenssl: RSA 4096-bit PerformanceGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.45522.1321.0871.613757.288465.13265.49155.321156.251227.47788.66221359.309.8758.46418841884077.1369108.429.3322.4194937.1642.135536.7721.0271.823756.738621.07264.50162.091153.011217.67784.62221151.309.9057.90419041885777.7169108.569.5623.4594737.2841.885312.3720.4473.583236.528588.90344.15151.851144.141220.46788.66221646.5710.0258.344189408756106.6969110.5310.0723.8397536.0941.934966.5420.6471.602648.878887.43348.62162.051135.421223.26786.14218044.789.5057.153876378890105.7369108.6110.5822.9897936.4441.834268.4920.7471.592954.088927.97205.71157.151140.181219.07789.67215053.319.3856.853978378823116.4370109.1210.6223.0498438.4141.8874.688908.70194.68163.311128.381217.67786.6316.169.8356.491442138753118.43116.1511.1523.38131538.9941.7572.328823.30371.94167.621118.381219.06788.149.6056.911540138968138.48109.8511.4323.34110637.9541.45OpenBenchmarking.org

NAS Parallel Benchmarks

Test / Class: LU.A

OpenBenchmarking.orgTotal Mop/s, More Is BetterNAS Parallel Benchmarks 3.3Test / Class: LU.AGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.712002400360048006000SE +/- 8.86, N = 3SE +/- 16.61, N = 3SE +/- 12.16, N = 3SE +/- 4.18, N = 3SE +/- 3.88, N = 35522.135536.775312.374966.544268.491. (F9X) gfortran options: -fopenmp

NAS Parallel Benchmarks

Test / Class: UA.A

OpenBenchmarking.orgTotal Mop/s, More Is BetterNAS Parallel Benchmarks 3.3Test / Class: UA.AGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7510152025SE +/- 0.06, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 321.0821.0220.4420.6420.741. (F9X) gfortran options: -fopenmp

LAMMPS Molecular Dynamics Simulator

Test: Rhodopsin Protein

OpenBenchmarking.orgLoop Time, Fewer Is BetterLAMMPS Molecular Dynamics Simulator 1.0Test: Rhodopsin ProteinGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.420406080100SE +/- 0.18, N = 3SE +/- 0.09, N = 3SE +/- 0.11, N = 3SE +/- 0.06, N = 3SE +/- 0.22, N = 3SE +/- 0.23, N = 3SE +/- 0.14, N = 371.6171.8273.5871.6071.5974.6872.321. (CXX) g++ options: -lfftw -lmpich

FFTE

Test: N=64, 1D Complex FFT Routine

OpenBenchmarking.orgMFLOPS, More Is BetterFFTE 5.0Test: N=64, 1D Complex FFT RoutineGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.78001600240032004000SE +/- 7.24, N = 3SE +/- 5.14, N = 3SE +/- 17.30, N = 3SE +/- 7.58, N = 3SE +/- 11.26, N = 33757.283756.733236.522648.872954.081. (F9X) gfortran options: -O3 -fomit-frame-pointer -fopenmp -lmpichf90 -lmpich -lopa -lmpl -lrt -lcr -lpthread

Fhourstones

Complex Connect-4 Solving

OpenBenchmarking.orgKpos / sec, More Is BetterFhourstones 3.1Complex Connect-4 SolvingGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.42K4K6K8K10KSE +/- 7.60, N = 3SE +/- 27.38, N = 3SE +/- 10.81, N = 3SE +/- 15.34, N = 3SE +/- 15.62, N = 3SE +/- 9.79, N = 3SE +/- 6.59, N = 38465.138621.078588.908887.438927.978908.708823.301. (CC) gcc options: -O3

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.480160240320400SE +/- 1.71, N = 4SE +/- 1.60, N = 4SE +/- 0.64, N = 4SE +/- 0.46, N = 4SE +/- 0.78, N = 4SE +/- 3.20, N = 4SE +/- 4.81, N = 7265.49264.50344.15348.62205.71194.68371.94

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.44080120160200SE +/- 1.13, N = 4SE +/- 3.26, N = 4SE +/- 0.71, N = 4SE +/- 0.25, N = 4SE +/- 0.36, N = 4SE +/- 0.92, N = 4SE +/- 0.49, N = 4155.32162.09151.85162.05157.15163.31167.62

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.42004006008001000SE +/- 0.81, N = 4SE +/- 3.06, N = 4SE +/- 1.30, N = 4SE +/- 0.79, N = 4SE +/- 2.99, N = 4SE +/- 1.27, N = 4SE +/- 2.29, N = 41156.251153.011144.141135.421140.181128.381118.38

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.430060090012001500SE +/- 1.41, N = 4SE +/- 2.27, N = 4SE +/- 2.78, N = 4SE +/- 2.29, N = 4SE +/- 2.66, N = 4SE +/- 2.27, N = 4SE +/- 1.39, N = 41227.471217.671220.461223.261219.071217.671219.06

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.42004006008001000SE +/- 1.93, N = 4SE +/- 1.50, N = 4SE +/- 1.52, N = 4SE +/- 2.17, N = 4SE +/- 1.28, N = 4SE +/- 1.27, N = 4SE +/- 0.83, N = 4788.66784.62788.66786.14789.67786.63788.14

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9Test: BlowfishGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.75001000150020002500SE +/- 2.60, N = 3SE +/- 1.67, N = 3SE +/- 1.33, N = 3SE +/- 0.33, N = 3SE +/- 2.60, N = 3221322112216218021501. (CC) gcc options: -fopenmp -lcrypt

TTSIOD 3D Renderer

Phong Rendering With Soft-Shadow Mapping

OpenBenchmarking.orgFPS, More Is BetterTTSIOD 3D Renderer 2.2wPhong Rendering With Soft-Shadow MappingGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.61326395265SE +/- 0.08, N = 3SE +/- 2.37, N = 6SE +/- 0.10, N = 3SE +/- 0.06, N = 3SE +/- 0.16, N = 3SE +/- 0.04, N = 359.3051.3046.5744.7853.3116.16-flto-flto-flto1. (CXX) g++ options: -O3 -march=native -fomit-frame-pointer -ffast-math -mtune=native -msse -mrecip -mfpmath=sse -msse2 -mssse3 -lSDL -lstdc++

VP8 libvpx Encoding

vpxenc

OpenBenchmarking.orgFrames Per Second, More Is BetterVP8 libvpx Encoding 0.9.7-p1vpxencGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.43691215SE +/- 0.10, N = 3SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.13, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 3SE +/- 0.06, N = 39.879.9010.029.509.389.839.601. (CC) gcc options: -m64 -lvpx -lm -lpthread

x264

H.264 Video Encoding

OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2011-12-06H.264 Video EncodingGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.41326395265SE +/- 0.09, N = 3SE +/- 0.07, N = 3SE +/- 0.20, N = 3SE +/- 0.19, N = 3SE +/- 0.11, N = 3SE +/- 0.06, N = 3SE +/- 0.27, N = 358.4657.9058.3457.1556.8556.4956.91

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.12Operation: SharpenGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4918273645SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 341414138391415-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt1. (CC) gcc options: -std=gnu99 -O3 -march=native -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.12Operation: ResizingGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.420406080100SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 388908976784240-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt1. (CC) gcc options: -std=gnu99 -O3 -march=native -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.12Operation: Local Adaptive ThresholdingGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4918273645SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 341414037371313-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt-fopenmp -lrt1. (CC) gcc options: -std=gnu99 -O3 -march=native -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lpthread

7-Zip Compression

Compress Speed Test

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.20.1Compress Speed TestGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.42K4K6K8K10KSE +/- 53.62, N = 3SE +/- 37.22, N = 3SE +/- 39.27, N = 3SE +/- 65.68, N = 3SE +/- 39.28, N = 3SE +/- 92.47, N = 3SE +/- 4.00, N = 388408857875688908823875389681. (CXX) g++ options: -pipe -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4306090120150SE +/- 0.03, N = 3SE +/- 0.22, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.09, N = 377.1377.71106.69105.73116.43118.43138.481. (CC) gcc options: -lm -lpthread -O3 -march=native

Smallpt

Global Illumination Renderer; 100 Samples

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.71632486480SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 369696969701. (CXX) g++ options: -fopenmp -O3 -march=native

Crafty

Elapsed Time

OpenBenchmarking.orgSeconds, Fewer Is BetterCrafty 23.4Elapsed TimeGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4306090120150SE +/- 0.24, N = 3SE +/- 0.28, N = 3SE +/- 0.23, N = 3SE +/- 0.10, N = 3SE +/- 0.23, N = 3SE +/- 0.02, N = 3SE +/- 0.05, N = 3108.42108.56110.53108.61109.12116.15109.851. (CC) gcc options: -lstdc++ -lm

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.43691215SE +/- 0.01, N = 5SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 59.339.5610.0710.5810.6211.1511.431. (CXX) g++ options: -O3 -march=native -logg -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3GCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4612182430SE +/- 0.02, N = 5SE +/- 0.03, N = 5SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.03, N = 5SE +/- 0.01, N = 5SE +/- 0.02, N = 522.4123.4523.8322.9823.0423.3823.34

POV-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.6.1Total TimeGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.43006009001200150094994797597998413151106-malign-double-malign-double-malign-double-malign-double-malign-double-malign-double1. (CXX) g++ options: -pipe -O3 -msse -mfpmath=sse -msse2 -march=k8 -mtune=k8 -march=native -lz -lSM -lICE -lX11 -lm

Tachyon

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterTachyon 0.98.9Total TimeGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.4918273645SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.07, N = 3SE +/- 0.04, N = 3SE +/- 0.07, N = 3SE +/- 0.05, N = 337.1637.2836.0936.4438.4138.9937.951. (CC) gcc options: -m32 -O3 -fomit-frame-pointer -ffast-math -ltachyon -lm -lpthread

OpenSSL

RSA 4096-bit Performance

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.0.0eRSA 4096-bit PerformanceGCC 4.8.0 20120701GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.3.6GCC 4.2.41020304050SE +/- 0.09, N = 4SE +/- 0.06, N = 4SE +/- 0.05, N = 4SE +/- 0.03, N = 4SE +/- 0.11, N = 4SE +/- 0.16, N = 4SE +/- 0.03, N = 442.1341.8841.9341.8341.8841.7541.451. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl


Phoronix Test Suite v10.8.4