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,
"TTSIOD 3D Renderer 2.2w - Phong Rendering With Soft-Shadow Mapping",
Higher Results Are Better
"march=nocona",132.746,133.156,132.943
"march=core2",133.064,133.039,132.993
"march=corei7",132.258,132.76,132.289
"march=corei7-avx",137.529,137.148,136.11
"march=core-avx-i",137.51,137.107,136.773
"GraphicsMagick 1.3.12 - Operation: Blur",
Higher Results Are Better
"march=nocona",136,136,136
"march=core2",134,135,135
"march=corei7",134,135,134
"march=corei7-avx",144,145,144
"march=core-avx-i",144,145,144
"GraphicsMagick 1.3.12 - Operation: Sharpen",
Higher Results Are Better
"march=nocona",84,84,83
"march=core2",84,84,84
"march=corei7",84,83,83
"march=corei7-avx",96,96,96
"march=core-avx-i",96,96,96
"GraphicsMagick 1.3.12 - Operation: Resizing",
Higher Results Are Better
"march=nocona",166,166,166
"march=core2",166,165,165
"march=corei7",165,165,166
"march=corei7-avx",174,173,173
"march=core-avx-i",173,173,173
"GraphicsMagick 1.3.12 - Operation: HWB Color Space",
Higher Results Are Better
"march=nocona",204,204,204
"march=core2",202,202,202
"march=corei7",202,202,201
"march=corei7-avx",204,204,204
"march=core-avx-i",204,204,204
"GraphicsMagick 1.3.12 - Operation: Local Adaptive Thresholding",
Higher Results Are Better
"march=nocona",84,84,84
"march=core2",83,83,83
"march=corei7",83,83,83
"march=corei7-avx",83,84,84
"march=core-avx-i",84,84,83
"BYTE Unix Benchmark 3.6 - Computational Test: Dhrystone 2",
Higher Results Are Better
"march=nocona",27016830.7,27053797.9,27038669.9
"march=core2",26620434.6,26562488.6,26586898.9
"march=corei7",26622533.3,26627121.9,26628567.1
"march=corei7-avx",26641431,26620611.6,26639301.1
"march=core-avx-i",26625293.5,26613393.9,26623422.4
"Himeno Benchmark 3.0 - Poisson Pressure Solver",
Higher Results Are Better
"march=nocona",1629.213371,1623.568573,1608.33617
"march=core2",1630.017195,1670.1779,1638.477563
"march=corei7",1615.512007,1621.103047,1673.015958
"march=corei7-avx",1646.654169,1656.397418,1662.735491
"march=core-avx-i",1645.784015,1654.522668,1637.979502
"Apache Benchmark 2.2.21 - Static Web Page Serving",
Higher Results Are Better
"march=nocona",33809.61,33384.03,33820.57
"march=core2",33790.75,33627.77,34562.35
"march=corei7",33408.89,34028.32,35037.69
"march=corei7-avx",33828.15,34598.51,34064.27
"march=core-avx-i",33163.22,34212.82,33064.35
"PostgreSQL pgbench 8.4.11 - TPC-B Transactions Per Second",
Higher Results Are Better
"march=nocona",3036.834871,3085.12857,3076.456718
"march=core2",3038.610215,3072.497892,3079.059115
"march=corei7",3047.073399,3067.574055,3066.747452
"march=corei7-avx",3017.580575,3044.304641,3053.314885
"march=core-avx-i",2980.383933,3062.552364,3042.7763
"Timed HMMer Search 2.3.2 - Pfam Database Search",
Lower Results Are Better
"march=nocona",10.202877044678,10.127498865128,10.120177984238
"march=core2",10.13655090332,10.145041942596,10.089353084564
"march=corei7",10.519922971725,10.017521858215,10.011037111282
"march=corei7-avx",10.414430141449,9.995934009552,10.000946044922
"march=core-avx-i",10.060977935791,10.023033857346,10.137027978897
"Timed PHP Compilation 5.2.9 - Time To Compile",
Lower Results Are Better
"march=nocona",24.910331010818,24.882845163345,24.924649953842
"march=core2",26.506749153137,26.48081612587,26.658574104309
"march=corei7",26.621049880981,26.678759813309,26.630635976791
"march=corei7-avx",27.146152973175,26.954293966293,27.165951013565
"march=core-avx-i",27.037140846252,26.930473804474,27.173140048981
"C-Ray 1.1 - Total Time",
Lower Results Are Better
"march=nocona",85.988,95.812,79.907,60.458,96.946,63.084
"march=core2",95.911,110.806,105.609,96.861,102.12,95.556
"march=corei7",110.263,76.63,95.166,58.676,102.73,102.147
"march=corei7-avx",91.405,72.081,75.977,86.871,79.934,111.57
"march=core-avx-i",104.316,89.822,82.486,106.258,94.505,61.533
"Smallpt 1.0 - Global Illumination Renderer; 100 Samples",
Lower Results Are Better
"march=nocona",25,25,25
"march=core2",25,25,25
"march=corei7",24,25,25
"march=corei7-avx",24,25,24
"march=core-avx-i",25,25,25
"LZMA Compression - 256MB File Compression",
Lower Results Are Better
"march=nocona",132.43385004997,131.87370705605,133.15589404106
"march=core2",132.72777199745,132.83876991272,132.22990393639
"march=corei7",132.57758498192,132.69302105904,132.14415383339
"march=corei7-avx",132.5097630024,132.92251491547,132.54462599754
"march=core-avx-i",132.52680301666,131.90685081482,132.52429199219
"dcraw - RAW To PPM Image Conversion",
Lower Results Are Better
"march=nocona",16.435988903046,15.879111051559,15.954473018646
"march=core2",16.236171960831,15.747298955917,15.703542947769
"march=corei7",16.255934000015,15.53032708168,15.654594898224
"march=corei7-avx",16.568409919739,15.947212934494,15.923182010651
"march=core-avx-i",16.585906982422,16.028717041016,15.921571016312
"LAME MP3 Encoding 3.99.3 - WAV To MP3",
Lower Results Are Better
"march=nocona",13.188008069992,13.11828994751,13.221982002258,13.131661891937,13.135963201523
"march=core2",13.549829959869,13.473345041275,13.537837982178,13.473208904266,13.486936807632
"march=corei7",13.388163089752,13.323217153549,13.384526014328,13.327296972275,13.336718082428
"march=corei7-avx",13.272358894348,13.186719894409,13.259572029114,13.209483861923,13.169395923615
"march=core-avx-i",13.260288000107,13.382632017136,13.242700099945,13.191935062408,13.192087173462
"Open FMM Nero2D 2.0.2 - Total Time",
Lower Results Are Better
"march=nocona",414.66877198219
"march=core2",410.6774790287
"march=corei7",408.93895792961
"march=corei7-avx",409.41152095795
"march=core-avx-i",408.69803500175