Fine-Grained Multithreading Support for Hybrid Threaded MPI Programming

TitleFine-Grained Multithreading Support for Hybrid Threaded MPI Programming
Publication TypeJournal Article
Year of Publication2010
AuthorsBalaji, P, Buntinas, D, Goodell, D, Gropp, WD, Thakur, R
JournalInt. J. High Perform. Comput.Appl.
Volume24
Issue1
Pagination49-57
Date Published02/2010
Other NumbersANL/MCS-P1623-0509
Abstract

As high-end computing systems continue to grow in scale, recent advances in multi- and many-core architectures have pushed such growth toward more denser architectures, that is, more processing elements per physical node, rather than more physical nodes themselves. Although a large number of scientific applications have relied so far on an MPI-everywhere model for programming high-end parallel systems, this model may not be sufficient for future machines, given their physical constraints such as decreasing
amounts of memory per processing element and shared caches. As a result, application and computer scientists are exploring alternative programming models that involve using MPI between address spaces and some other threaded model, such as OpenMP, Pthreads, or Intel TBB, within an address space. Such hybrid models require efficient support from an MPI implementation for MPI messages sent from multiple threads simultaneously. In this paper, we explore the issues involved in designing such an implementation. We present four approaches to building a fully thread-safe MPI implementation, with decreasing levels of critical-section granularity (from coarse-grain locks to fine-grain locks to lock-free operations) and correspondingly increasing levels of complexity. We present performance results that demonstrate the performance implications of the different approaches.

URLhttp://portal.acm.org/citation.cfm?id=1734768&dl=ACM&coll=portal
PDFhttp://www.mcs.anl.gov/papers/P1623.pdf