Computer Science > Distributed, Parallel, and Cluster Computing
[Submitted on 31 Jul 2017 (this version), latest version 10 Aug 2017 (v2)]
Title:Tuning MPI Collectives by Verifying Performance Guidelines
View PDFAbstract:MPI collective operations provide a common interface for performing data movements within a group of processes. The efficiency of collective communication operations depends on the actual algorithm by an implementation for a specific communication problem (type of communication, message size, number of processes). Therefore, most MPI libraries are built around a collection of algorithms for specific collective operations. The selection strategy which algorithm is often times predefined (hard-coded) in MPI libraries, but some of them, such as Open MPI, also allow users to change the algorithm manually. Finding the best algorithm for each case is a hard problem and it is usually addressed by different (auto-)tuning approaches. We use an orthogonal approach to parameter-tuning of MPI collectives. Instead of testing individual algorithmic choices of a given library, we compare the latency of a specific MPI collective to the latency of its mock-up implementations, and these mock-ups are defined as part of performance guidelines. The advantage is that the tuning using mock-up implementations is always possible, whether or not an MPI library allows the user-controlled selection of algorithm. We implement this concept in a library called PGMPITuneLib, which transparently sits between user code and the actual MPI implementation. This library selects an algorithmic pattern of an MPI collective by intercepting MPI calls and redirecting them to our own mock-up implementations. Our experimental results show that PGMPITuneLib can significantly reduce the latency of MPI collectives, and also equally important, it helps to identify tuning potential of MPI libraries.
Submission history
From: Sascha Hunold [view email][v1] Mon, 31 Jul 2017 17:19:09 UTC (1,095 KB)
[v2] Thu, 10 Aug 2017 14:08:30 UTC (5,500 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.