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.

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.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 2012070112002400360048006000SE +/- 3.88, N = 3SE +/- 4.18, N = 3SE +/- 12.16, N = 3SE +/- 16.61, N = 3SE +/- 8.86, N = 34268.494966.545312.375536.775522.131. (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.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701510152025SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 3SE +/- 0.07, N = 3SE +/- 0.06, N = 320.7420.6420.4421.0221.081. (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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 2012070120406080100SE +/- 0.14, N = 3SE +/- 0.23, N = 3SE +/- 0.22, N = 3SE +/- 0.06, N = 3SE +/- 0.11, N = 3SE +/- 0.09, N = 3SE +/- 0.18, N = 372.3274.6871.5971.6073.5871.8271.611. (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.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207018001600240032004000SE +/- 11.26, N = 3SE +/- 7.58, N = 3SE +/- 17.30, N = 3SE +/- 5.14, N = 3SE +/- 7.24, N = 32954.082648.873236.523756.733757.281. (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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207012K4K6K8K10KSE +/- 6.59, N = 3SE +/- 9.79, N = 3SE +/- 15.62, N = 3SE +/- 15.34, N = 3SE +/- 10.81, N = 3SE +/- 27.38, N = 3SE +/- 7.60, N = 38823.308908.708927.978887.438588.908621.078465.131. (CC) gcc options: -O3

SciMark

Computational Test: Monte Carlo

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

SciMark

Computational Test: Fast Fourier Transform

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

SciMark

Computational Test: Sparse Matrix Multiply

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

SciMark

Computational Test: Dense LU Matrix Factorization

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

SciMark

Computational Test: Jacobi Successive Over-Relaxation

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

John The Ripper

Test: Blowfish

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9Test: BlowfishGCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207015001000150020002500SE +/- 2.60, N = 3SE +/- 0.33, N = 3SE +/- 1.33, N = 3SE +/- 1.67, N = 3SE +/- 2.60, N = 3215021802216221122131. (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.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207011326395265SE +/- 0.04, N = 3SE +/- 0.16, N = 3SE +/- 0.06, N = 3SE +/- 0.10, N = 3SE +/- 2.37, N = 6SE +/- 0.08, N = 316.1653.3144.7846.5751.3059.30-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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207013691215SE +/- 0.06, N = 3SE +/- 0.05, N = 3SE +/- 0.07, N = 3SE +/- 0.13, N = 3SE +/- 0.05, N = 3SE +/- 0.03, N = 3SE +/- 0.10, N = 39.609.839.389.5010.029.909.871. (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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207011326395265SE +/- 0.27, N = 3SE +/- 0.06, N = 3SE +/- 0.11, N = 3SE +/- 0.19, N = 3SE +/- 0.20, N = 3SE +/- 0.07, N = 3SE +/- 0.09, N = 356.9156.4956.8557.1558.3457.9058.46

GraphicsMagick

Operation: Sharpen

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.12Operation: SharpenGCC 4.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701918273645SE +/- 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 = 315143938414141-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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 2012070120406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 340427876899088-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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701918273645SE +/- 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.33, N = 313133737404141-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.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207012K4K6K8K10KSE +/- 4.00, N = 3SE +/- 92.47, N = 3SE +/- 39.28, N = 3SE +/- 65.68, N = 3SE +/- 39.27, N = 3SE +/- 37.22, N = 3SE +/- 53.62, N = 389688753882388908756885788401. (CXX) g++ options: -pipe -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701306090120150SE +/- 0.09, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.22, N = 3SE +/- 0.03, N = 3138.48118.43116.43105.73106.6977.7177.131. (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.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207011632486480SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 370696969691. (CXX) g++ options: -fopenmp -O3 -march=native

Crafty

Elapsed Time

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

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACGCC 4.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 201207013691215SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.02, N = 5SE +/- 0.01, N = 511.4311.1510.6210.5810.079.569.331. (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.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 20120701612182430SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.03, N = 5SE +/- 0.01, N = 5SE +/- 0.02, N = 5SE +/- 0.03, N = 5SE +/- 0.02, N = 523.3423.3823.0422.9823.8323.4522.41

POV-Ray

Total Time

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


Phoronix Test Suite v10.8.4