GCC 4.7.0 compiler tuning with Intel Ivy Bridge looking at the performance of various compiler flags. Testing for a future article on Phoronix.com. Tested options were march=nocona, march=core2, march=corei7, march=corei7-avx, and march=core-avx-i. The -O3 was also set for the CFLAG/CXXFLAGS for all runs.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1206055-SU-INTELCORE01 Intel Core i7 Ivy Bridge GCC Compiler Tuning - Phoronix Test Suite Intel Core i7 Ivy Bridge GCC Compiler Tuning GCC 4.7.0 compiler tuning with Intel Ivy Bridge looking at the performance of various compiler flags. Testing for a future article on Phoronix.com. Tested options were march=nocona, march=core2, march=corei7, march=corei7-avx, and march=core-avx-i. The -O3 was also set for the CFLAG/CXXFLAGS for all runs.
HTML result view exported from: https://openbenchmarking.org/result/1206055-SU-INTELCORE01&grt&export=pdf&rdt .
Intel Core i7 Ivy Bridge GCC Compiler Tuning Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona Intel Core i7-3770K @ 3.50GHz (8 Cores) ECS Z77H2-A2X v1.0 Intel Ivy Bridge DRAM 15360MB 240GB OCZ VERTEX3 Intel Ivy Bridge Realtek ALC892 DELL P2210H Realtek RTL8111/8168B Ubuntu 12.04 3.4.0-999-generic (x86_64) Unity 5.10.0 X Server 1.11.3 intel 2.18.0 2.1 Mesa 8.1-devel (git-137c5ec) GCC 4.7.0 ext4 1920x1080 OpenBenchmarking.org Compiler Details - --disable-multilib --enable-checking=release --enable-languages=c,c++,fortran --enable-lto Processor Details - Scaling Governor: ondemand System Details - Compiz was running on this system.
Intel Core i7 Ivy Bridge GCC Compiler Tuning apache: Static Web Page Serving byte: Dhrystone 2 c-ray: Total Time dcraw: RAW To PPM Image Conversion graphics-magick: Blur graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding himeno: Poisson Pressure Solver encode-mp3: WAV To MP3 compress-lzma: 256MB File Compression nero2d: Total Time pgbench: TPC-B Transactions Per Second smallpt: Global Illumination Renderer; 100 Samples hmmer: Pfam Database Search build-php: Time To Compile ttsiod-renderer: Phong Rendering With Soft-Shadow Mapping march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 33993.62 26589940.70 101.14 15.90 135 84 165 202 83 1646.22 13.50 132.60 410.68 3063.39 25 10.12 26.55 133.03 34158.30 26626074.10 90.94 15.81 134 83 165 202 83 1636.54 13.35 132.47 408.94 3060.46 25 10.18 26.64 132.44 34163.64 26633781.23 86.31 16.15 144 96 173 204 84 1655.26 13.22 132.66 409.41 3038.40 24 10.14 27.09 136.93 33480.13 26620703.27 89.82 16.18 144 96 173 204 84 1646.10 13.25 132.32 408.70 3028.57 25 10.07 27.05 137.13 33671.40 27036432.83 80.37 16.09 136 84 166 204 84 1620.37 13.16 132.49 414.67 3066.14 25 10.15 24.91 132.95 OpenBenchmarking.org
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.2.21 Static Web Page Serving march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 7K 14K 21K 28K 35K SE +/- 288.23, N = 3 SE +/- 474.66, N = 3 SE +/- 227.87, N = 3 SE +/- 367.46, N = 3 SE +/- 143.72, N = 3 33993.62 34158.30 34163.64 33480.13 33671.40 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -pthread -O3 -lm -lexpat -lrt -lcrypt -lpthread -ldl
BYTE Unix Benchmark Computational Test: Dhrystone 2 OpenBenchmarking.org LPS, More Is Better BYTE Unix Benchmark 3.6 Computational Test: Dhrystone 2 march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 6M 12M 18M 24M 30M SE +/- 16796.57, N = 3 SE +/- 1818.89, N = 3 SE +/- 6613.46, N = 3 SE +/- 3694.38, N = 3 SE +/- 10729.97, N = 3 26589940.70 26626074.10 26633781.23 26620703.27 27036432.83 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 20 40 60 80 100 SE +/- 2.52, N = 6 SE +/- 7.96, N = 6 SE +/- 5.81, N = 6 SE +/- 6.72, N = 6 SE +/- 6.43, N = 6 101.14 90.94 86.31 89.82 80.37 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -lm -lpthread -O3
dcraw RAW To PPM Image Conversion OpenBenchmarking.org Seconds, Fewer Is Better dcraw RAW To PPM Image Conversion march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 4 8 12 16 20 SE +/- 0.17, N = 3 SE +/- 0.22, N = 3 SE +/- 0.21, N = 3 SE +/- 0.21, N = 3 SE +/- 0.17, N = 3 15.90 15.81 16.15 16.18 16.09 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3 -lm
GraphicsMagick Operation: Blur OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Blur march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 135 134 144 144 136 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Sharpen march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 84 83 96 96 84 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Resizing march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 40 80 120 160 200 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 165 165 173 173 166 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: HWB Color Space march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 40 80 120 160 200 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 202 202 204 204 204 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
GraphicsMagick Operation: Local Adaptive Thresholding OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Local Adaptive Thresholding march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 83 83 84 84 84 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 400 800 1200 1600 2000 SE +/- 12.22, N = 3 SE +/- 18.31, N = 3 SE +/- 4.68, N = 3 SE +/- 4.78, N = 3 SE +/- 6.23, N = 3 1646.22 1636.54 1655.26 1646.10 1620.37 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 3 6 9 12 15 SE +/- 0.02, N = 5 SE +/- 0.01, N = 5 SE +/- 0.02, N = 5 SE +/- 0.03, N = 5 SE +/- 0.02, N = 5 13.50 13.35 13.22 13.25 13.16
LZMA Compression 256MB File Compression OpenBenchmarking.org Seconds, Fewer Is Better LZMA Compression 256MB File Compression march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 30 60 90 120 150 SE +/- 0.19, N = 3 SE +/- 0.17, N = 3 SE +/- 0.13, N = 3 SE +/- 0.21, N = 3 SE +/- 0.37, N = 3 132.60 132.47 132.66 132.32 132.49 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3
Open FMM Nero2D Total Time OpenBenchmarking.org Seconds, Fewer Is Better Open FMM Nero2D 2.0.2 Total Time march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 90 180 270 360 450 410.68 408.94 409.41 408.70 414.67 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CXX) g++ options: -O3 -lfftw3 -llapack -lblas -lm
PostgreSQL pgbench TPC-B Transactions Per Second OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 700 1400 2100 2800 3500 SE +/- 12.53, N = 3 SE +/- 6.70, N = 3 SE +/- 10.73, N = 3 SE +/- 24.76, N = 3 SE +/- 14.86, N = 3 3063.39 3060.46 3038.40 3028.57 3066.14 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 6 12 18 24 30 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 25 25 24 25 25 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CXX) g++ options: -fopenmp -O3
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 3 6 9 12 15 SE +/- 0.02, N = 3 SE +/- 0.17, N = 3 SE +/- 0.14, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 10.12 10.18 10.14 10.07 10.15 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3 -pthread -lhmmer -lsquid -lm
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 6 12 18 24 30 SE +/- 0.06, N = 3 SE +/- 0.02, N = 3 SE +/- 0.07, N = 3 SE +/- 0.07, N = 3 SE +/- 0.01, N = 3 26.55 26.64 27.09 27.05 24.91 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CC) gcc options: -O3 -pedantic -ldl -lz -lm
TTSIOD 3D Renderer Phong Rendering With Soft-Shadow Mapping OpenBenchmarking.org FPS, More Is Better TTSIOD 3D Renderer 2.2w Phong Rendering With Soft-Shadow Mapping march=core2 march=corei7 march=corei7-avx march=core-avx-i march=nocona 30 60 90 120 150 SE +/- 0.02, N = 3 SE +/- 0.16, N = 3 SE +/- 0.42, N = 3 SE +/- 0.21, N = 3 SE +/- 0.12, N = 3 133.03 132.44 136.93 137.13 132.95 -march=core2 -march=corei7 -march=corei7-avx -march=core-avx-i -march=nocona 1. (CXX) g++ options: -O3 -fomit-frame-pointer -ffast-math -mtune=native -flto -msse -mrecip -mfpmath=sse -msse2 -mssse3 -lSDL -lstdc++
Phoronix Test Suite v10.8.4