GCC 4.8 LTO Link-Time Optimizations

Some GCC 4.8 link-time optimization benchmarks for a future article on Phoronix.com.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1302092-FO-GCC48LTO575
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results

Limit displaying results to tests within:

C/C++ Compiler Tests 5 Tests
CPU Massive 4 Tests
Creator Workloads 4 Tests
Multi-Core 4 Tests
Renderers 2 Tests
Server CPU Tests 3 Tests

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Geometric Means Per-Suite/Category
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
View Logs
Performance Per
Dollar
Date
Run
  Test
  Duration
-O3 -march=native
February 08 2013
 
-O3 -march=native -flto
February 08 2013
 
-O3 -march=native -flto -fwhole-program
February 08 2013
 
Invert Hiding All Results Option
 

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


GCC 4.8 LTO Link-Time OptimizationsOpenBenchmarking.orgPhoronix Test SuiteIntel Core i7-3770K @ 3.50GHz (8 Cores)ECS Z77H2-A2X v1.0Intel Xeon E3-1200 v2/3rd8192MB60GB OCZ VERTEX2NVIDIA GeForce GTX 550 Ti 1024MB (405/324MHz)Realtek ALC892DELL P2210HRealtek RTL8111/8168B + Intel Centrino Advanced-N 6205Ubuntu 13.043.8.0-4-generic (x86_64)Unity 6.6.0X Server 1.13.2nouveau 1.0.63.0 Mesa 9.0.2 Gallium 0.4GCC 4.8.0 20130121ext41920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionGCC 4.8 LTO Link-Time Optimizations PerformanceSystem Logs- --build=x86_64-linux-gnu --disable-browser-plugin --disable-nls --disable-werror --enable-checking=yes --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-objc-gc --enable-plugin --enable-shared --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-snap-amd64/jre --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-snap-amd64 --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-snap-amd64 --with-multilib-list=m32,m64,mx32 --with-tune=generic -v - Scaling Governor: ondemand

-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-programResult OverviewPhoronix Test Suite100%133%166%199%232%Timed PHP CompilationBYTE Unix BenchmarkBullet Physics EngineHimeno BenchmarkOpus Codec EncodingGraphicsMagickC-RaySmallpt

GCC 4.8 LTO Link-Time Optimizationsbyte: Dhrystone 2graphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverbuild-php: Time To Compilec-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesbullet: Raytestsbullet: 3000 Fallbullet: 1000 Stackbullet: 1000 Convexbullet: 136 Ragdollsbullet: Prim Trimeshbullet: Convex Trimeshencode-opus: WAV, Opus Encode, Opus Decode-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program30148598.83140951671961181611.1043.7428.15383.305.005.885.773.601.091.379.0037789032.27141951682011181723.20101.3428.10383.385.467.006.123.941.131.438.8937854081.97141961682021181675.8987.4828.11383.365.236.506.033.801.111.408.89OpenBenchmarking.org

BYTE Unix Benchmark

OpenBenchmarking.orgLPS, More Is BetterBYTE Unix Benchmark 3.6Computational Test: Dhrystone 2-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program8M16M24M32M40MSE +/- 6843.30, N = 3SE +/- 31975.89, N = 3SE +/- 5452.52, N = 330148598.8337789032.2737854081.97-flto-flto -fwhole-program1. (CC) gcc options: -O3 -march=native
OpenBenchmarking.orgLPS, More Is BetterBYTE Unix Benchmark 3.6Computational Test: Dhrystone 2-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program7M14M21M28M35MMin: 30138595.2 / Avg: 30148598.83 / Max: 30161690Min: 37728798.2 / Avg: 37789032.27 / Max: 37837757.5Min: 37845949 / Avg: 37854081.97 / Max: 37864439.81. (CC) gcc options: -O3 -march=native

GraphicsMagick

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Blur-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program306090120150SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3140141141-flto-flto -fwhole-program1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread
OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Blur-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program306090120150Min: 140 / Avg: 140.33 / Max: 141Min: 141 / Avg: 141 / Max: 141Min: 141 / Avg: 141 / Max: 1411. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Sharpen-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program20406080100SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3959596-flto-flto -fwhole-program1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread
OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Sharpen-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program20406080100Min: 95 / Avg: 95 / Max: 95Min: 95 / Avg: 95 / Max: 95Min: 96 / Avg: 96 / Max: 961. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Resizing-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program4080120160200SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3167168168-flto-flto -fwhole-program1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread
OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Resizing-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program306090120150Min: 167 / Avg: 167 / Max: 167Min: 167 / Avg: 167.67 / Max: 168Min: 168 / Avg: 168.33 / Max: 1691. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color Space-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program4080120160200SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3196201202-flto-flto -fwhole-program1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread
OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color Space-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program4080120160200Min: 196 / Avg: 196 / Max: 196Min: 201 / Avg: 201 / Max: 201Min: 202 / Avg: 202 / Max: 2021. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive Thresholding-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program306090120150SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3118118118-flto-flto -fwhole-program1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread
OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive Thresholding-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program20406080100Min: 118 / Avg: 118 / Max: 118Min: 117 / Avg: 117.67 / Max: 118Min: 117 / Avg: 117.67 / Max: 1181. (CC) gcc options: -std=gnu99 -fopenmp -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lbz2 -lz -lm -lgomp -lpthread

Himeno Benchmark

The Himeno benchmark is a linear solver of pressure Poisson using a point-Jacobi method. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program400800120016002000SE +/- 0.60, N = 3SE +/- 0.83, N = 3SE +/- 31.85, N = 61611.101723.201675.89-flto-flto -fwhole-program1. (CC) gcc options: -O3 -march=native
OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program30060090012001500Min: 1609.9 / Avg: 1611.1 / Max: 1611.72Min: 1722 / Avg: 1723.2 / Max: 1724.8Min: 1517.18 / Avg: 1675.89 / Max: 1719.931. (CC) gcc options: -O3 -march=native

Timed PHP Compilation

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To Compile-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program20406080100SE +/- 0.02, N = 3SE +/- 0.15, N = 3SE +/- 0.21, N = 343.74101.3487.48-flto-flto -fwhole-program1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lpthread -lz -lm
OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To Compile-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program20406080100Min: 43.71 / Avg: 43.74 / Max: 43.78Min: 101.11 / Avg: 101.34 / Max: 101.62Min: 87.16 / Avg: 87.48 / Max: 87.871. (CC) gcc options: -O3 -march=native -pedantic -ldl -lpthread -lz -lm

C-Ray

This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program714212835SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 328.1528.1028.11-flto-flto -fwhole-program1. (CC) gcc options: -lm -lpthread -O3 -march=native
OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program612182430Min: 28.14 / Avg: 28.15 / Max: 28.16Min: 28.09 / Avg: 28.1 / Max: 28.11Min: 28.1 / Avg: 28.11 / Max: 28.121. (CC) gcc options: -lm -lpthread -O3 -march=native

Smallpt

Smallpt is a C++ global illumination renderer written in less than 100 lines of code. Global illumination is done via unbiased Monte Carlo path tracing and there is multi-threading support via the OpenMP library. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 Samples-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program918273645SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3383838-flto-flto -fwhole-program1. (CXX) g++ options: -fopenmp -O3 -march=native
OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 Samples-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program816243240Min: 38 / Avg: 38.33 / Max: 39Min: 38 / Avg: 38 / Max: 38Min: 38 / Avg: 38 / Max: 381. (CXX) g++ options: -fopenmp -O3 -march=native

Bullet Physics Engine

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Raytests-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program0.76051.5212.28153.0423.8025SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 33.303.383.36-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Raytests-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810Min: 3.3 / Avg: 3.3 / Max: 3.31Min: 3.37 / Avg: 3.38 / Max: 3.39Min: 3.36 / Avg: 3.36 / Max: 3.361. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 Fall-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program1.22852.4573.68554.9146.1425SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 35.005.465.23-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 Fall-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810Min: 4.98 / Avg: 5 / Max: 5.02Min: 5.44 / Avg: 5.46 / Max: 5.49Min: 5.21 / Avg: 5.23 / Max: 5.251. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Stack-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.00, N = 35.887.006.50-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Stack-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program3691215Min: 5.85 / Avg: 5.88 / Max: 5.91Min: 6.97 / Avg: 7 / Max: 7.04Min: 6.49 / Avg: 6.5 / Max: 6.51. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Convex-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 35.776.126.03-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Convex-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810Min: 5.76 / Avg: 5.77 / Max: 5.77Min: 6.12 / Avg: 6.12 / Max: 6.13Min: 6.02 / Avg: 6.03 / Max: 6.041. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 Ragdolls-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program0.88651.7732.65953.5464.4325SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 33.603.943.80-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 Ragdolls-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810Min: 3.59 / Avg: 3.6 / Max: 3.6Min: 3.94 / Avg: 3.94 / Max: 3.95Min: 3.79 / Avg: 3.8 / Max: 3.81. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim Trimesh-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program0.25430.50860.76291.01721.2715SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31.091.131.11-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim Trimesh-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810Min: 1.08 / Avg: 1.09 / Max: 1.09Min: 1.13 / Avg: 1.13 / Max: 1.13Min: 1.11 / Avg: 1.11 / Max: 1.121. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex Trimesh-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program0.32180.64360.96541.28721.609SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31.371.431.40-flto-flto -fwhole-program1. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU
OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex Trimesh-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program246810Min: 1.36 / Avg: 1.37 / Max: 1.39Min: 1.43 / Avg: 1.43 / Max: 1.44Min: 1.4 / Avg: 1.4 / Max: 1.41. (CXX) g++ options: -O3 -march=native -rdynamic -lglut -lGL -lGLU

Opus Codec Encoding

OpenBenchmarking.orgSeconds, Fewer Is BetterOpus Codec Encoding 1.0.1WAV, Opus Encode, Opus Decode-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program3691215SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 59.008.898.89-flto-flto -fwhole-program1. (CC) gcc options: -std=gnu99 -O3 -march=native -fPIE -pie -logg -lm -lopus
OpenBenchmarking.orgSeconds, Fewer Is BetterOpus Codec Encoding 1.0.1WAV, Opus Encode, Opus Decode-O3 -march=native-O3 -march=native -flto-O3 -march=native -flto -fwhole-program3691215Min: 8.99 / Avg: 9 / Max: 9Min: 8.88 / Avg: 8.89 / Max: 8.89Min: 8.88 / Avg: 8.89 / Max: 8.91. (CC) gcc options: -std=gnu99 -O3 -march=native -fPIE -pie -logg -lm -lopus