Toward efficient support for multithreaded MPI communication.
- Mathematics and Computer Science
To make the most effective use of parallel machines that are being built out of increasingly large multicore chips, researchers are exploring the use of programming models comprising a mixture of MPI and threads. 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 describe how we have structured our implementation to support all four approaches and enable one to be selected at build time. We present performance results with a message-rate benchmark to demonstrate the performance implications of the different approaches.
- Research Organization:
- Argonne National Laboratory (ANL)
- Sponsoring Organization:
- SC
- DOE Contract Number:
- AC02-06CH11357
- OSTI ID:
- 1009780
- Report Number(s):
- ANL/MCS/CP-61879
- Journal Information:
- Lect. Notes Comput. Sci., Journal Name: Lect. Notes Comput. Sci. Journal Issue: 2008 Vol. 5205
- Country of Publication:
- United States
- Language:
- ENGLISH
Similar Records
Test suite for evaluating performance of multithreaded MPI communication.
Test suite for evaluating performance of MPI implementations that support MPI_THREAD_MULTIPLE.