Title :
Managing Communication Latency-Hiding at Runtime for Parallel Programming Languages and Libraries
Author :
Kristensen, Mads Ruben Burgdorff ; Vinter, Brian
Author_Institution :
Niels Bohr Inst., Univ. of Copenhagen, Copenhagen, Denmark
Abstract :
This work introduces a runtime model for managing communication with support for latency-hiding. The model enables non-computer science researchers to exploit communication latency-hiding techniques seamlessly. For compiled languages, it is often possible to create efficient schedules for communication, but this is not the case for interpreted languages. By maintaining data dependencies between scheduled operations, it is possible to aggressively initiate communication and lazily evaluate tasks to allow maximal time for the communication to finish before entering a wait state. We implement a heuristic of this model in DistNumPy, an auto-parallelizing version of numerical Python that allows sequential NumPy programs to run on distributed memory architectures. Furthermore, we present performance comparisons for six benchmarks with and without automatic latency-hiding. The results shows that our model reduces the time spent on waiting for communication as much as 27 times, from a maximum of 54% to only 2% of the total execution time, in a stencil application.
Keywords :
distributed memory systems; parallel languages; parallel memories; parallel programming; program compilers; software libraries; DistNumPy; NumPy program; autoparallel version; communication latency hiding management; compiled language; distributed memory architecture; numerical Python; parallel programming language; parallel programming library; runtime model; Arrays; Computational modeling; Computer languages; Libraries; Parallel processing; Runtime; Schedules; HPC; Latency-Hiding; Python;
Conference_Titel :
High Performance Computing and Communication & 2012 IEEE 9th International Conference on Embedded Software and Systems (HPCC-ICESS), 2012 IEEE 14th International Conference on
Conference_Location :
Liverpool
Print_ISBN :
978-1-4673-2164-8
DOI :
10.1109/HPCC.2012.80