DocumentCode :
1194308
Title :
An Adaptive Algorithm Selection Framework for Reduction Parallelization
Author :
Yu, Hao ; Rauchwerger, Lawrence
Author_Institution :
IBM Thomas J. Watson Res. Center, Yorktown Heights, NY
Volume :
17
Issue :
10
fYear :
2006
Firstpage :
1084
Lastpage :
1096
Abstract :
Irregular and dynamic memory reference patterns can cause performance variations for low level algorithms in general and for parallel algorithms in particular. In this paper, we present an adaptive algorithm selection framework which can collect and interpret the characteristics of a particular instance of parallel reduction algorithms and select the best performing one from an existing library. The framework consists of the following components: 1) an offline systematic process for characterizing the input sensitivity of parallel reduction algorithms and a method for building corresponding predictive performance models, 2) an online input characterization and algorithm selection module, and 3) a small library of parallel reduction algorithms, which represent the algorithmic choices made available at runtime. We also present one possible integration of this framework in a restructuring compiler. We validate our design experimentally and show that our framework 1) selects the most appropriate algorithms in 85 percent of the cases studied, 2) overall, delivers 98 percent of the optimal performance, 3) adaptively selects the best algorithms for dynamic phases of a running program (resulting in performance improvements otherwise not possible), and 4) adapts to the underlying machine architectures (evaluated on IBM Regatta and HP V-class systems)
Keywords :
optimising compilers; parallel algorithms; storage management; adaptive algorithm selection; compiler optimization; machine architecture; memory reference pattern; offline systematic process; online input characterization; parallel reduction algorithm; predictive performance model; Adaptive algorithm; Algorithm design and analysis; Libraries; Optimizing compilers; Parallel algorithms; Predictive models; Program processors; Programming profession; Runtime; Sorting; Runtime parallelization; adaptive optimization; compiler optimization.; reduction parallelization;
fLanguage :
English
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on
Publisher :
ieee
ISSN :
1045-9219
Type :
jour
DOI :
10.1109/TPDS.2006.131
Filename :
1687879
Link To Document :
بازگشت