Concurrent programming constructs for parallel MPI applications

  • Authors:
  • Tobias Berka;Giorgos Kollias;Helge Hagenauer;Marian Vajteršic;Ananth Grama

  • Affiliations:
  • Department of Computer Sciences, University of Salzburg, Salzburg, Austria 5020 and Department of Computer Science, Purdue University, West Lafayette, USA 47907;Department of Computer Science, Purdue University, West Lafayette, USA 47907;Department of Computer Sciences, University of Salzburg, Salzburg, Austria 5020;Department of Computer Sciences, University of Salzburg, Salzburg, Austria 5020 and Department of Informatics, Mathematical Institute, Slovak Academy of Sciences, Bratislava, Slovakia 814 73;Department of Computer Science, Purdue University, West Lafayette, USA 47907

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Concurrency and parallelism have long been viewed as important, but somewhat distinct concepts. While concurrency is extensively used to amortize latency (for example, in web- and database-servers, user interfaces, etc.), parallelism is traditionally used to enhance performance through execution on multiple functional units. Motivated by an evolving application mix and trends in hardware architecture, there has been a push toward integrating traditional programming models for concurrency and parallelism. Use of conventional threads APIs (POSIX, OpenMP) with messaging libraries (MPI), however, leads to significant programmability concerns, owing primarily to their disparate programming models. In this paper, we describe a novel API and associated runtime for concurrent programming, called MPI Threads (MPIT), which provides a portable and reliable abstraction of low-level threading facilities. We describe various design decisions in MPIT, their underlying motivation, and associated semantics. We provide performance measurements for our prototype implementation to quantify overheads associated with various operations. Finally, we discuss two real-world use cases: an asynchronous message queue and a parallel information retrieval system. We demonstrate that MPIT provides a versatile, low overhead programming model that can be leveraged to program large parallel ensembles.