Argonne National Laboratory

Characterizing MPI and Hybrid MPI+Threads Application at Scale: Case Study with BFS

TitleCharacterizing MPI and Hybrid MPI+Threads Application at Scale: Case Study with BFS
Publication TypeConference Paper
Year of Publication2015
AuthorsAmer, A, Lu, H, Balaji, P, Matsuoka, S
Conference NameCCGrid 2015
PublisherIEEE
Conference LocationShenzhen
Other NumbersANL/MCS-P5166-0714
AbstractWith the increasing prominence of many-core archiectures and decreasing per-core resources on large supercomputers, a number of applications developers are investigating the use of hybrid MPI+threads programming to utilize computational units while sharing memory. An MPI-only model that uses one MPI process per system core is capable of effectively utilizing the processing units, but it fails to fully utilize the memory hierarchy and relies on fine-grained internode communication. Hybrid MPI+threads models, on the other hand, can handle intranode parallelism more effectively and alleviate some of the overheads associated with internode communication by allowing more coarse-grained data movement between address spaces. The hybrid model, however, can suffer from locking and memory consistency overheads associated with data sharing. In this paper, we use a distributed implementation of the breadth-first search algorithm in order to understand the per- formance characteristics of MPI-only and MPI+threads models at scale. We start with a baseline MPI-only implementation and propose MPI+threads extensions where threads independently communicate with remote processes while cooperating for local computation. We demonstrate how the coarse-grained communication of MPI+threads considerably reduces time and space overheads that grow with the number of processes. At large scale, however, these overheads constitute performance barriers for both models and require fixing the root causes, such as the excessive polling for communication progress and inefficient global synchronizations. To this end, we demonstrate various techniques to reduce such overheads and show performance improvements on up to 512K cores of a Blue Gene/Q system.  
URLhttp://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=7152594&tag=1
DOI10.1109/CCGrid.2015.93
PDFhttp://www.mcs.anl.gov/papers/P5166-0714.pdf