Title :
Automatic Recognition of Performance Idioms in Scientific Applications
Author :
He, Jiahua ; Snavely, Allan E. ; van der Wijngaart, R.F. ; Frumkin, Michael A.
Author_Institution :
San Diego Supercomput. Center (SDSC), Univ. of California, San Diego, CA, USA
Abstract :
Basic data flow patterns that we call performance idioms, such as stream, transpose, reduction, random access and stencil, are common in scientific numerical applications. We hypothesize that a small number of idioms can cover most programming constructs that dominate the execution time of scientific codes and can be used to approximate the application performance. To check these hypotheses, we proposed an automatic idioms recognition method and implemented the method, based on the open source compiler Open64. With the NAS Parallel Benchmark (NPB) as a case study, the prototype system is about 90% accurate compared with idiom classification by a human expert. Our results showed that the above five idioms suffice to cover 100% of the six NPB codes (MG, CG, FT, BT, SP and LU). We also compared the performance of our idiom benchmarks with their corresponding instances in the NPB codes on two different platforms with different methods. The approximation accuracy is up to 96.6%. The contribution is to show that a small set of idioms can cover more complex codes, that idioms can be recognized automatically, and that suitably defined idioms may approximate application performance.
Keywords :
abstract data types; benchmark testing; natural sciences computing; program compilers; public domain software; approximation accuracy; automatic idioms recognition; complex codes; data flow pattern; idiom benchmarks; open source compiler Open64; parallel benchmark; performance idiom; prototype system; scientific application; scientific codes; Benchmark testing; Hardware; Indexes; Liquefied natural gas; Optimization; Program processors; Prototypes;
Conference_Titel :
Parallel & Distributed Processing Symposium (IPDPS), 2011 IEEE International
Conference_Location :
Anchorage, AK
Print_ISBN :
978-1-61284-372-8
Electronic_ISBN :
1530-2075
DOI :
10.1109/IPDPS.2011.21