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&sor.

GCC 4.x Benchmarking Intel Core i7ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 4.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701Intel 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.2.4ext41600x900GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701OpenBenchmarking.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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 2012070172.328823.30371.94167.621118.381219.06788.149.6056.911540138968138.48109.8511.4323.34110637.9541.4574.688908.70194.68163.311128.381217.67786.6316.169.8356.491442138753118.43116.1511.1523.38131538.9941.754268.4920.7471.592954.088927.97205.71157.151140.181219.07789.67215053.319.3856.853978378823116.4370109.1210.6223.0498438.4141.884966.5420.6471.602648.878887.43348.62162.051135.421223.26786.14218044.789.5057.153876378890105.7369108.6110.5822.9897936.4441.835312.3720.4473.583236.528588.90344.15151.851144.141220.46788.66221646.5710.0258.344189408756106.6969110.5310.0723.8397536.0941.935536.7721.0271.823756.738621.07264.50162.091153.011217.67784.62221151.309.9057.90419041885777.7169108.569.5623.4594737.2841.885522.1321.0871.613757.288465.13265.49155.321156.251227.47788.66221359.309.8758.46418841884077.1369108.429.3322.4194937.1642.13OpenBenchmarking.org

NAS Parallel Benchmarks

Test / Class: LU.A

OpenBenchmarking.orgTotal Mop/s, More Is BetterNAS Parallel Benchmarks 3.3Test / Class: LU.AGCC 4.7.1GCC 4.8.0 20120701GCC 4.6.3GCC 4.5.4GCC 4.4.712002400360048006000SE +/- 16.61, N = 3SE +/- 8.86, N = 3SE +/- 12.16, N = 3SE +/- 4.18, N = 3SE +/- 3.88, N = 35536.775522.135312.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.4.7GCC 4.5.4GCC 4.6.3510152025SE +/- 0.06, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 321.0821.0220.7420.6420.441. (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.4.7GCC 4.5.4GCC 4.8.0 20120701GCC 4.7.1GCC 4.2.4GCC 4.6.3GCC 4.3.620406080100SE +/- 0.22, N = 3SE +/- 0.06, N = 3SE +/- 0.18, N = 3SE +/- 0.09, N = 3SE +/- 0.14, N = 3SE +/- 0.11, N = 3SE +/- 0.23, N = 371.5971.6071.6171.8272.3273.5874.681. (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.4.7GCC 4.5.48001600240032004000SE +/- 7.24, N = 3SE +/- 5.14, N = 3SE +/- 17.30, N = 3SE +/- 11.26, N = 3SE +/- 7.58, N = 33757.283756.733236.522954.082648.871. (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.4.7GCC 4.3.6GCC 4.5.4GCC 4.2.4GCC 4.7.1GCC 4.6.3GCC 4.8.0 201207012K4K6K8K10KSE +/- 15.62, N = 3SE +/- 9.79, N = 3SE +/- 15.34, N = 3SE +/- 6.59, N = 3SE +/- 27.38, N = 3SE +/- 10.81, N = 3SE +/- 7.60, N = 38927.978908.708887.438823.308621.078588.908465.131. (CC) gcc options: -O3

SciMark

Computational Test: Monte Carlo

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

SciMark

Computational Test: Fast Fourier Transform

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

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.4.7GCC 4.5.4GCC 4.3.6GCC 4.2.42004006008001000SE +/- 0.81, N = 4SE +/- 3.06, N = 4SE +/- 1.30, N = 4SE +/- 2.99, N = 4SE +/- 0.79, N = 4SE +/- 1.27, N = 4SE +/- 2.29, N = 41156.251153.011144.141140.181135.421128.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.5.4GCC 4.6.3GCC 4.4.7GCC 4.2.4GCC 4.7.1GCC 4.3.630060090012001500SE +/- 1.41, N = 4SE +/- 2.29, N = 4SE +/- 2.78, N = 4SE +/- 2.66, N = 4SE +/- 1.39, N = 4SE +/- 2.27, N = 4SE +/- 2.27, N = 41227.471223.261220.461219.071219.061217.671217.67

SciMark

Computational Test: Jacobi Successive Over-Relaxation

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

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9Test: BlowfishGCC 4.6.3GCC 4.8.0 20120701GCC 4.7.1GCC 4.5.4GCC 4.4.75001000150020002500SE +/- 1.33, N = 3SE +/- 2.60, N = 3SE +/- 1.67, N = 3SE +/- 0.33, N = 3SE +/- 2.60, N = 3221622132211218021501. (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.4.7GCC 4.7.1GCC 4.6.3GCC 4.5.4GCC 4.3.61326395265SE +/- 0.08, N = 3SE +/- 0.16, N = 3SE +/- 2.37, N = 6SE +/- 0.10, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 359.3053.3151.3046.5744.7816.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.6.3GCC 4.7.1GCC 4.8.0 20120701GCC 4.3.6GCC 4.2.4GCC 4.5.4GCC 4.4.73691215SE +/- 0.05, N = 3SE +/- 0.03, N = 3SE +/- 0.10, N = 3SE +/- 0.05, N = 3SE +/- 0.06, N = 3SE +/- 0.13, N = 3SE +/- 0.07, N = 310.029.909.879.839.609.509.381. (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.6.3GCC 4.7.1GCC 4.5.4GCC 4.2.4GCC 4.4.7GCC 4.3.61326395265SE +/- 0.09, N = 3SE +/- 0.20, N = 3SE +/- 0.07, N = 3SE +/- 0.19, N = 3SE +/- 0.27, N = 3SE +/- 0.11, N = 3SE +/- 0.06, N = 358.4658.3457.9057.1556.9156.8556.49

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.4.7GCC 4.5.4GCC 4.2.4GCC 4.3.6918273645SE +/- 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 = 341414139381514-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.7.1GCC 4.6.3GCC 4.8.0 20120701GCC 4.4.7GCC 4.5.4GCC 4.3.6GCC 4.2.420406080100SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 390898878764240-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.2.4GCC 4.5.4GCC 4.7.1GCC 4.8.0 20120701GCC 4.4.7GCC 4.6.3GCC 4.3.62K4K6K8K10KSE +/- 4.00, N = 3SE +/- 65.68, N = 3SE +/- 37.22, N = 3SE +/- 53.62, N = 3SE +/- 39.28, N = 3SE +/- 39.27, N = 3SE +/- 92.47, N = 389688890885788408823875687531. (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.5.4GCC 4.6.3GCC 4.4.7GCC 4.3.6GCC 4.2.4306090120150SE +/- 0.03, N = 3SE +/- 0.22, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.09, N = 377.1377.71105.73106.69116.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.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701GCC 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.5.4GCC 4.4.7GCC 4.2.4GCC 4.6.3GCC 4.3.6306090120150SE +/- 0.24, N = 3SE +/- 0.28, N = 3SE +/- 0.10, N = 3SE +/- 0.23, N = 3SE +/- 0.05, N = 3SE +/- 0.23, N = 3SE +/- 0.02, N = 3108.42108.56108.61109.12109.85110.53116.151. (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.5.4GCC 4.4.7GCC 4.2.4GCC 4.3.6GCC 4.7.1GCC 4.6.3612182430SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.03, N = 5SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.03, N = 5SE +/- 0.02, N = 522.4122.9823.0423.3423.3823.4523.83

POV-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.6.1Total TimeGCC 4.7.1GCC 4.8.0 20120701GCC 4.6.3GCC 4.5.4GCC 4.4.7GCC 4.2.4GCC 4.3.63006009001200150094794997597998411061315-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.6.3GCC 4.5.4GCC 4.8.0 20120701GCC 4.7.1GCC 4.2.4GCC 4.4.7GCC 4.3.6918273645SE +/- 0.01, N = 3SE +/- 0.07, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.04, N = 3SE +/- 0.07, N = 336.0936.4437.1637.2837.9538.4138.991. (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.6.3GCC 4.7.1GCC 4.4.7GCC 4.5.4GCC 4.3.6GCC 4.2.41020304050SE +/- 0.09, N = 4SE +/- 0.05, N = 4SE +/- 0.06, N = 4SE +/- 0.11, N = 4SE +/- 0.03, N = 4SE +/- 0.16, N = 4SE +/- 0.03, N = 442.1341.9341.8841.8841.8341.7541.451. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl


Phoronix Test Suite v10.8.4