Towards Automatic Compiler-assisted Performance and Energy Modeling for Message Passing Parallel Programs
Conference: ARCS Workshop 2018 - 31th International Conference on Architecture of Computing Systems
04/09/2018 - 04/12/2018 at Braunschweig, Germany
Proceedings: ARCS 2018
Pages: 8Language: englishTyp: PDFPersonal VDE Members are entitled to a 10% discount on this title
Gschwandtner, Philipp; Hirsch, Alexander; Benedict, Shajulin (Department of Computer Science, University of Innsbruck, Innsbruck, Austria)
Fahringer, Thomas (Indian Institute of Information Technology Kottayam, Kerala, India)
Optimizing programs for modern distributed memory parallel architectures is a notoriously difficult task that generated the need for modeling tools that can estimate the execution time and energy consumption for message passing programs. Many prediction tools require substantial manual effort, excessive training for every given architecture or limit the class of input programs that can be handled. We present a compiler-based approach that automatically generates parametrized analytical models. While requiring only a minimum training overhead on target architectures it still provides reasonably accurate models for execution time and energy consumption of message passing programs. Our method uses compiler analyses to identify the structure of code regions of input programs, and extracts important parameters such as loop iteration counts or message buffer sizes. We can then predict the performance of these code regions for new problem sizes and target machines. We show that compiler knowledge can be effectively used to minimize training overhead and evaluate our approach on multiple target applications with varying problem and machine sizes. Initial results obtained with our prototype implementation show a mean coefficient of determination (R(exp)2) of 0:93 over 7 input programs.