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&grs&sro .
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=nocona march=core2 march=corei7 march=corei7-avx march=core-avx-i 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 graphics-magick: Sharpen build-php: Time To Compile graphics-magick: Blur graphics-magick: Resizing smallpt: Global Illumination Renderer; 100 Samples ttsiod-renderer: Phong Rendering With Soft-Shadow Mapping encode-mp3: WAV To MP3 dcraw: RAW To PPM Image Conversion himeno: Poisson Pressure Solver apache: Static Web Page Serving byte: Dhrystone 2 nero2d: Total Time pgbench: TPC-B Transactions Per Second graphics-magick: Local Adaptive Thresholding hmmer: Pfam Database Search graphics-magick: HWB Color Space compress-lzma: 256MB File Compression c-ray: Total Time march=nocona march=core2 march=corei7 march=corei7-avx march=core-avx-i 84 24.91 136 166 25 132.95 13.16 16.09 1620.37 33671.40 27036432.83 414.67 3066.14 84 10.15 204 132.49 80.37 84 26.55 135 165 25 133.03 13.50 15.90 1646.22 33993.62 26589940.70 410.68 3063.39 83 10.12 202 132.60 101.14 83 26.64 134 165 25 132.44 13.35 15.81 1636.54 34158.30 26626074.10 408.94 3060.46 83 10.18 202 132.47 90.94 96 27.09 144 173 24 136.93 13.22 16.15 1655.26 34163.64 26633781.23 409.41 3038.40 84 10.14 204 132.66 86.31 96 27.05 144 173 25 137.13 13.25 16.18 1646.10 33480.13 26620703.27 408.70 3028.57 84 10.07 204 132.32 89.82 OpenBenchmarking.org
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Sharpen march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 20 40 60 80 100 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 96 84 83 96 84 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 6 12 18 24 30 SE +/- 0.07, N = 3 SE +/- 0.06, N = 3 SE +/- 0.02, N = 3 SE +/- 0.07, N = 3 SE +/- 0.01, N = 3 27.05 26.55 26.64 27.09 24.91 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -O3 -pedantic -ldl -lz -lm
GraphicsMagick Operation: Blur OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Blur march=core-avx-i march=core2 march=corei7 march=corei7-avx 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 144 135 134 144 136 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -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=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 40 80 120 160 200 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 173 165 165 173 166 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 6 12 18 24 30 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 25 25 25 24 25 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CXX) g++ options: -fopenmp -O3
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=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 30 60 90 120 150 SE +/- 0.21, N = 3 SE +/- 0.02, N = 3 SE +/- 0.16, N = 3 SE +/- 0.42, N = 3 SE +/- 0.12, N = 3 137.13 133.03 132.44 136.93 132.95 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CXX) g++ options: -O3 -fomit-frame-pointer -ffast-math -mtune=native -flto -msse -mrecip -mfpmath=sse -msse2 -mssse3 -lSDL -lstdc++
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 3 6 9 12 15 SE +/- 0.03, N = 5 SE +/- 0.02, N = 5 SE +/- 0.01, N = 5 SE +/- 0.02, N = 5 SE +/- 0.02, N = 5 13.25 13.50 13.35 13.22 13.16
dcraw RAW To PPM Image Conversion OpenBenchmarking.org Seconds, Fewer Is Better dcraw RAW To PPM Image Conversion march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 4 8 12 16 20 SE +/- 0.21, N = 3 SE +/- 0.17, N = 3 SE +/- 0.22, N = 3 SE +/- 0.21, N = 3 SE +/- 0.17, N = 3 16.18 15.90 15.81 16.15 16.09 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -O3 -lm
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 400 800 1200 1600 2000 SE +/- 4.78, N = 3 SE +/- 12.22, N = 3 SE +/- 18.31, N = 3 SE +/- 4.68, N = 3 SE +/- 6.23, N = 3 1646.10 1646.22 1636.54 1655.26 1620.37 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -O3
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.2.21 Static Web Page Serving march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 7K 14K 21K 28K 35K SE +/- 367.46, N = 3 SE +/- 288.23, N = 3 SE +/- 474.66, N = 3 SE +/- 227.87, N = 3 SE +/- 143.72, N = 3 33480.13 33993.62 34158.30 34163.64 33671.40 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -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=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 6M 12M 18M 24M 30M SE +/- 3694.38, N = 3 SE +/- 16796.57, N = 3 SE +/- 1818.89, N = 3 SE +/- 6613.46, N = 3 SE +/- 10729.97, N = 3 26620703.27 26589940.70 26626074.10 26633781.23 27036432.83 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -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=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 90 180 270 360 450 408.70 410.68 408.94 409.41 414.67 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -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=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 700 1400 2100 2800 3500 SE +/- 24.76, N = 3 SE +/- 12.53, N = 3 SE +/- 6.70, N = 3 SE +/- 10.73, N = 3 SE +/- 14.86, N = 3 3028.57 3063.39 3060.46 3038.40 3066.14 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -O3 -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm
GraphicsMagick Operation: Local Adaptive Thresholding OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: Local Adaptive Thresholding march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 20 40 60 80 100 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 84 83 83 84 84 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 3 6 9 12 15 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.17, N = 3 SE +/- 0.14, N = 3 SE +/- 0.03, N = 3 10.07 10.12 10.18 10.14 10.15 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -O3 -pthread -lhmmer -lsquid -lm
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.12 Operation: HWB Color Space march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 40 80 120 160 200 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 204 202 202 204 204 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -std=gnu99 -fopenmp -O3 -pthread -ltiff -lfreetype -lXext -lSM -lICE -lX11 -lz -lm -lrt -lpthread
LZMA Compression 256MB File Compression OpenBenchmarking.org Seconds, Fewer Is Better LZMA Compression 256MB File Compression march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 30 60 90 120 150 SE +/- 0.21, N = 3 SE +/- 0.19, N = 3 SE +/- 0.17, N = 3 SE +/- 0.13, N = 3 SE +/- 0.37, N = 3 132.32 132.60 132.47 132.66 132.49 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -O3
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time march=core-avx-i march=core2 march=corei7 march=corei7-avx march=nocona 20 40 60 80 100 SE +/- 6.72, N = 6 SE +/- 2.52, N = 6 SE +/- 7.96, N = 6 SE +/- 5.81, N = 6 SE +/- 6.43, N = 6 89.82 101.14 90.94 86.31 80.37 -march=core-avx-i -march=core2 -march=corei7 -march=corei7-avx -march=nocona 1. (CC) gcc options: -lm -lpthread -O3
Phoronix Test Suite v10.8.4