Preserving the original MPI semantics in a virtualized processor environment

  • Authors:
  • Eduardo R. Rodrigues;Philippe O. A. Navaux;Jairo Panetta;Celso L. Mendes

  • Affiliations:
  • IBM Research, Brazil;Institute of Informatics, UFRGS, Brazil;Center for Weather Forecasts and Climate Studies, INPE, Brazil;Parallel Programming Laboratory, UIUC, USA

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Processor virtualization is a technique in which a programmer divides a computation into many entities, which are mapped to the available processors. The number of these entities, referred to as virtual processors, is typically larger than the number of physical processors. For an MPI program, the user decomposes the computation into more MPI tasks than physical processors. This approach allows overlapping computation and communication, and enables load balancing. User-level threads are often used to implement these virtual processors because they are generally faster to create, manage and migrate than heavy processes or kernel threads. However, these threads present issues concerning private data because they break the private address space assumption typically made by MPI programs. In this paper, we propose a new approach to privatize data in user-level threads. This approach is based on thread-local storage (TLS), which is often used by kernel threads. We apply this technique so that MPI programs can be executed in a virtualized environment while preserving their original semantics. We show that this alternative has a more efficient context switch and lower migration cost and is simpler to implement than other approaches.