An Empirical Study of Computation-Intensive Loops for Identifying and Classifying Loop Kernels
Open Access
- 17 April 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 361-372
Abstract
The process of performance tuning is time consuming and costly even if it is carried out automatically. It is crucial to learn from the experience of experts. Our long-term goal is to construct a database of facts extracted from specific performance tuning histories of computation-intensive applications such that we can search the database for promising optimization patterns that fit a given kernel. In this study, as a significant step toward our goal, we explored a thousand computation-intensive applications in terms of the distribution of kernel classes, each of which is related to expected efficiency and specific tuning patterns. To statistically estimate the distribution of the kernel classes, 100 loops were randomly sampled and then manually classified by experienced performance engineers. The result indicates that 50-70% of the kernels are memory-bound and hence difficult to run efficiently on modern scalar processors. In addition, based on the classification results, we constructed experimental classifiers for identifying loop kernels and for predicting kernel classes, which achieved cross-validated classification accuracy of 81% and 65%, respectively.Keywords
Funding Information
- Japan Society for the Promotion of Science (JSPS) (KAKENHI Grant Number JP26540031)
This publication has 20 references indexed in Scilit:
- A large-scale study on the usage of Java’s concurrent programming constructsJournal of Systems and Software, 2015
- Extracting Facts from Performance Tuning History of Scientific Applications for Predicting Effective Optimization Patterns2015
- Towards making autotuning mainstreamThe International Journal of High Performance Computing Applications, 2013
- Auto-tuning full applications: A case studyThe International Journal of High Performance Computing Applications, 2011
- LIBSVMACM Transactions on Intelligent Systems and Technology, 2011
- Milepost GCC: Machine Learning Enabled Self-tuning CompilerInternational Journal of Parallel Programming, 2011
- A few billion lines of code laterCommunications of the ACM, 2010
- RooflineCommunications of the ACM, 2009
- An empirical study of Java bytecode programsSoftware: Practice and Experience, 2006
- An empirical study of FORTRAN programsSoftware: Practice and Experience, 1971