FINE-GRAINED MULTITHREADING SUPPORT FOR HYBRID THREADED MPI PROGRAMMING

被引:34
作者
Balaji, Pavan [1 ]
Buntinas, Darius [1 ]
Goodell, David [1 ]
Gropp, William [2 ]
Thakur, Rajeev [1 ]
机构
[1] Argonne Natl Lab, Math & Comp Sci Div, Argonne, IL 60439 USA
[2] Univ Illinois, Dept Comp Sci, Urbana, IL 61801 USA
关键词
MPI; threads; hybrid programming; fine-grained locks;
D O I
10.1177/1094342009360206
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
As high-end computing systems continue to grow in scale, recent advances in multi-and many-core architectures have pushed such growth toward more dense 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.
引用
收藏
页码:49 / 57
页数:9
相关论文
共 18 条
[1]  
[Anonymous], P IASTED C PAR DISTR
[2]  
[Anonymous], REGISTER
[3]   OpenMP - Guest editorial [J].
Chapman, BM ;
Massaioli, F .
PARALLEL COMPUTING, 2005, 31 (10-12) :957-959
[4]  
DEMAINE ED, 1997, P 11 INT S HIGH PERF, P153
[5]   SOLUTION OF A PROBLEM IN CONCURRENT PROGRAMMING CONTROL [J].
DIJKSTRA, EW .
COMMUNICATIONS OF THE ACM, 1965, 8 (09) :569-&
[6]  
GARCIA F, 1999, LECT NOTES COMPUTER, V1697, P207
[7]   Thread-safety in an MPI implementation: Requirements and analysis [J].
Gropp, William ;
Thakur, Rajeev .
PARALLEL COMPUTING, 2007, 33 (09) :595-604
[8]   WAIT-FREE SYNCHRONIZATION [J].
HERLIHY, M .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1991, 13 (01) :124-149
[9]   Structure and measurement of acculturation/enculturation for Asian Americans using the ARSMA-II [J].
Lee, RM ;
Yoon, E ;
Liu-Tom, HTT .
MEASUREMENT AND EVALUATION IN COUNSELING AND DEVELOPMENT, 2006, 39 (01) :42-55
[10]  
MPI Forum, 1997, MPI 2 EXT MESS PASS