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&grs&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 i7ttsiod-renderer: Phong Rendering With Soft-Shadow Mappinggraphics-magick: Local Adaptive Thresholdinggraphics-magick: Sharpengraphics-magick: Resizingscimark2: Monte Carloc-ray: Total Timeffte: N=64, 1D Complex FFT Routinepovray: Total Timenpb: LU.Aencode-flac: WAV To FLACscimark2: Fast Fourier Transformtachyon: Total Timecrafty: Elapsed Timevpxenc: vpxencencode-mp3: WAV To MP3fhourstones: Complex Connect-4 Solvinglammps: Rhodopsin Proteinx264: H.264 Video Encodingscimark2: Sparse Matrix Multiplynpb: UA.Ajohn-the-ripper: Blowfishcompress-7zip: Compress Speed Testopenssl: RSA 4096-bit Performancesmallpt: Global Illumination Renderer; 100 Samplesscimark2: Dense LU Matrix Factorizationscimark2: 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.459.30414188265.4977.133757.289495522.139.33155.3237.16108.429.8722.418465.1371.6158.461156.2521.082213884042.13691227.47788.6651.30414190264.5077.713756.739475536.779.56162.0937.28108.569.9023.458621.0771.8257.901153.0121.022211885741.88691217.67784.6246.57404189344.15106.693236.529755312.3710.07151.8536.09110.5310.0223.838588.9073.5858.341144.1420.442216875641.93691220.46788.6644.78373876348.62105.732648.879794966.5410.58162.0536.44108.619.5022.988887.4371.6057.151135.4220.642180889041.83691223.26786.1453.31373978205.71116.432954.089844268.4910.62157.1538.41109.129.3823.048927.9771.5956.851140.1820.742150882341.88701219.07789.6716.16131442194.68118.43131511.15163.3138.99116.159.8323.388908.7074.6856.491128.38875341.751217.67786.63131540371.94138.48110611.43167.6237.95109.859.6023.348823.3072.3256.911118.38896841.451219.06788.14OpenBenchmarking.org

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Phoronix Test Suite v10.8.4