GCC 4.9.0 Compiler Optimization Tuning
Testing various CFLAGS/CXXFLAGS of different GCC compiler optimizations including the -O optimization levels, Link Time Optimizations, and -march=native targeting. benchmarks by Michael Larabel for a future article on phoronix.com
-O0
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
-O1
-O2
-Os
-Og
-O3
-Ofast
-O3 -march=native
-O3 -march=native -flto
Processor: Intel Core i7-4770K @ 3.50GHz (8 Cores), Motherboard: ECS Z87H3-A2X EXTREME v1.0, Chipset: Intel 4th Gen Core DRAM, Memory: 16384MB, Disk: 120GB Samsung SSD 840, Graphics: ECS NVIDIA GeForce GTX 460 768MB (675/1804MHz), Audio: Realtek ALC1150, Monitor: Samsung SyncMaster, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-22-generic (x86_64), Desktop: Unity 7.2.0, Display Server: X Server 1.15.0, Display Driver: NVIDIA 337.12, OpenGL: 4.3.0, Compiler: GCC 4.9.0 20140411, File-System: ext4, Screen Resolution: 2560x1600
GraphicsMagick
This is a test of GraphicsMagick with its OpenMP implementation that performs various imaging tests to stress the system's CPU. Learn more via the OpenBenchmarking.org test page.
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.
Hierarchical INTegration
This test runs the U.S. Department of Energy's Ames Laboratory Hierarchical INTegration (HINT) benchmark. Learn more via the OpenBenchmarking.org test page.
Timed Apache Compilation
Timed ImageMagick Compilation
Timed PHP Compilation
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.
FLAC Audio Encoding
LAME MP3 Encoding
LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format. Learn more via the OpenBenchmarking.org test page.
-O0
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 08:13 by user phoronix.
-O1
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 09:22 by user phoronix.
-O2
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 12:07 by user phoronix.
-Os
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 15:11 by user phoronix.
-Og
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 15:59 by user phoronix.
-O3
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 11:10 by user phoronix.
-Ofast
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 13:07 by user phoronix.
-O3 -march=native
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 17:14 by user phoronix.
-O3 -march=native -flto
Processor: Intel Core i7-4770K @ 3.50GHz (8 Cores), Motherboard: ECS Z87H3-A2X EXTREME v1.0, Chipset: Intel 4th Gen Core DRAM, Memory: 16384MB, Disk: 120GB Samsung SSD 840, Graphics: ECS NVIDIA GeForce GTX 460 768MB (675/1804MHz), Audio: Realtek ALC1150, Monitor: Samsung SyncMaster, Network: Realtek RTL8111/8168/8411
OS: Ubuntu 14.04, Kernel: 3.13.0-22-generic (x86_64), Desktop: Unity 7.2.0, Display Server: X Server 1.15.0, Display Driver: NVIDIA 337.12, OpenGL: 4.3.0, Compiler: GCC 4.9.0 20140411, File-System: ext4, Screen Resolution: 2560x1600
Compiler Notes: --enable-checking=release
Processor Notes: Scaling Governor: acpi-cpufreq ondemand
Testing initiated at 13 April 2014 18:10 by user phoronix.