Text archives Help
- From: James Bigler <bigler@cs.utah.edu>
- To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
- Subject: [MANTA] gcc compiler optimizations
- Date: Fri, 27 May 2005 11:12:36 -0600
I tried a few of the flags Steve put in there for GCC on Mac and I saw a
noticible improvement on my Pentium 4 Xeon 2 GHz machine running linux.
With GCC 3.3.2 I ran:
bin/manta -bench 20 10
-O3
Benchmark completed in 10.8703 seconds (20 frames, 1.83987 frames per
second)
-O3 -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock
-falign-functions=16 -ffast-math -freorder-blocks
Benchmark completed in 8.71735 seconds (20 frames, 2.29427 frames per
second)
added -march=pentium4
Benchmark completed in 8.52678 seconds (20 frames, 2.34555 frames per
second)
So, just by adding a few flags I improved the framerate on the default
scene by about 25%. Not too bad.
What other types of optimizations are people using for linux based
systems and GCC?
James
- [MANTA] gcc compiler optimizations, James Bigler, 05/27/2005
Archive powered by MHonArc 2.6.16.