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&sro&grr.

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 i7openssl: RSA 4096-bit Performancetachyon: Total Timepovray: Total Timeencode-mp3: WAV To MP3encode-flac: WAV To FLACcrafty: Elapsed Timesmallpt: Global Illumination Renderer; 100 Samplesc-ray: Total Timecompress-7zip: Compress Speed Testgraphics-magick: Local Adaptive Thresholdinggraphics-magick: Resizinggraphics-magick: Sharpenx264: H.264 Video Encodingvpxenc: vpxencttsiod-renderer: Phong Rendering With Soft-Shadow Mappingjohn-the-ripper: Blowfishscimark2: Jacobi Successive Over-Relaxationscimark2: Dense LU Matrix Factorizationscimark2: Sparse Matrix Multiplyscimark2: Fast Fourier Transformscimark2: Monte Carlofhourstones: Complex Connect-4 Solvingffte: N=64, 1D Complex FFT Routinelammps: Rhodopsin Proteinnpb: UA.Anpb: LU.AGCC 4.2.4GCC 4.3.6GCC 4.4.7GCC 4.5.4GCC 4.6.3GCC 4.7.1GCC 4.8.0 2012070141.4537.95110623.3411.43109.85138.48896813401556.919.60788.141219.061118.38167.62371.948823.3072.3241.7538.99131523.3811.15116.15118.43875313421456.499.8316.16786.631217.671128.38163.31194.688908.7074.6841.8838.4198423.0410.62109.1270116.43882337783956.859.3853.312150789.671219.071140.18157.15205.718927.972954.0871.5920.744268.4941.8336.4497922.9810.58108.6169105.73889037763857.159.5044.782180786.141223.261135.42162.05348.628887.432648.8771.6020.644966.5441.9336.0997523.8310.07110.5369106.69875640894158.3410.0246.572216788.661220.461144.14151.85344.158588.903236.5273.5820.445312.3741.8837.2894723.459.56108.566977.71885741904157.909.9051.302211784.621217.671153.01162.09264.508621.073756.7371.8221.025536.7742.1337.1694922.419.33108.426977.13884041884158.469.8759.302213788.661227.471156.25155.32265.498465.133757.2871.6121.085522.13OpenBenchmarking.org

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

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

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

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

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

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

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

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

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

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

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: 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

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

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

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++

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

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

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: 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: 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: 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

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

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

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

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

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


Phoronix Test Suite v10.8.4