gcc vs. icc part 2

jhu

Lifer
Oct 10, 1999
11,918
9
81
i ran some benchmarks using the povray. the file used to render was the benchmark.pov file that was provided. here are the results for my celeron 800:

povray.gcc.2.95 was compiled with gcc 2.95
povray.gcc3.* were compiled with gcc 3.2.1
povray.icc* were compiled with icc 7.1

povray.gcc.2.95 compile options: povray default + -march=i686
povray.gcc3.387 compile options: povray default + -march=pentium3 -mfpmath=387
povray.gcc3.sse compile options: povray default + -march=pentium3 -mfpmath=sse
povray.gcc3.sse.387 compile options: povray default + -march=pentium3 -mfpmath=sse,387
povray.icc compile options: -O3 -xK
povray.icc.ipo compile options: -O3 -xK -ipo

povray.gcc.2.95
Time For Parse: 0 hours 0 minutes 6.0 seconds (6 seconds)
Time For Photon: 0 hours 2 minutes 48.0 seconds (168 seconds)
Time For Trace: 1 hours 57 minutes 42.0 seconds (7062 seconds)
Total Time: 2 hours 0 minutes 36.0 seconds (7236 seconds)

povray.gcc3.387
Time For Parse: 0 hours 0 minutes 6.0 seconds (6 seconds)
Time For Photon: 0 hours 2 minutes 37.0 seconds (157 seconds)
Time For Trace: 1 hours 53 minutes 36.0 seconds (6816 seconds)
Total Time: 1 hours 56 minutes 19.0 seconds (6979 seconds)

povray.gcc3.sse
Time For Parse: 0 hours 0 minutes 7.0 seconds (7 seconds)
Time For Photon: 0 hours 2 minutes 39.0 seconds (159 seconds)
Time For Trace: 1 hours 55 minutes 42.0 seconds (6942 seconds)
Total Time: 1 hours 58 minutes 28.0 seconds (7108 seconds)

povray.gcc3.sse.387
Time For Parse: 0 hours 0 minutes 6.0 seconds (6 seconds)
Time For Photon: 0 hours 2 minutes 40.0 seconds (160 seconds)
Time For Trace: 1 hours 58 minutes 40.0 seconds (7120 seconds)
Total Time: 2 hours 1 minutes 26.0 seconds (7286 seconds)

povray.icc
Time For Parse: 0 hours 0 minutes 7.0 seconds (7 seconds)
Time For Photon: 0 hours 2 minutes 32.0 seconds (152 seconds)
Time For Trace: 1 hours 49 minutes 11.0 seconds (6551 seconds)
Total Time: 1 hours 51 minutes 50.0 seconds (6710 seconds)

povray.icc.ipo
Time For Parse: 0 hours 0 minutes 6.0 seconds (6 seconds)
Time For Photon: 0 hours 2 minutes 29.0 seconds (149 seconds)
Time For Trace: 1 hours 47 minutes 41.0 seconds (6461 seconds)
Total Time: 1 hours 50 minutes 16.0 seconds (6616 seconds)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
cool.

I am a bit suprised, gcc now is with in 5-10 minutes of being as fast as the icc stuff.

It's nice to see that developement is progressing...
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
i think it's interesting that gcc with sse isn't as good as gcc with 387 for fpmath. oh well. also the fastest icc build of povray is nearly 1megabyte larger than the fastest gcc build, and it only finishes the benchmark 6 minutes faster.
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
Originally posted by: jhu
i think it's interesting that gcc with sse isn't as good as gcc with 387 for fpmath. oh well. also the fastest icc build of povray is nearly 1megabyte larger than the fastest gcc build, and it only finishes the benchmark 6 minutes faster.

how big are the files? 1 meg out of 100 isn't a lot for a 5% increase in speed, but 1 meg out of 5 is.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
the gcc3 binaries are about 1.3-1.5 megabytes. the icc with ipo compiled binary is 2.2 megabytes. not a very good speepd to size ratio.