General Optimization Question

Steve Lionel (Intel)
Total Points:
115,145
Status Points:
115,145
Black Belt
July 1, 2002 8:05 PM PDT
Rate
 
#1
The goal of optimization is to make your program run faster. While we'd like the compilation to be fast too, that's not something you control with optimization switches.

It may be that your application is not CPU or memory-bound, which limits the effect of optimization. You can use code profiling tools such as prof, or if you have a Windows PC available, you can use Intel's VTune performance analyzer with the data collector run on Linux.

If your application is waiting for disk I/O to complete, or is being limited by memory throughput, there may not be much a compiler can do to help you. A good analyzer will tell you where your program is spending its time.

Steve


Intel Software Network Forums Statistics

8470 users have contributed to 31601 threads and 100650 posts to date.
In the past 24 hours, we have 29 new thread(s) 115 new posts(s), and 162 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member kopernikus