Introduction
Petascale machines with hundreds of thousands of cores are being built. These machines have varying interconnect topologies and large network diameters. Computation is cheap and communication on the network is becoming the bottleneck for scaling of parallel applications. Network contention, specifically, is becoming an increasingly important factor affecting overall performance. The broad goal of this research is performance optimization of parallel applications through reduction of network contention.
Most parallel applications have a certain communication topology. Mapping of tasks in a parallel application based on their communication graph, to the physical processors on a machine can potentially lead to performance improvements. We have developed an automatic mapping framework and implemented a mapping library to map the communication graph for an application on to the interconnect topology of a machine while trying to localize communication.
A parallel quantum chemistry application, OpenAtom, runs twice as fast when its objects are mapped in a topology aware fashion on various machines (see figures below). NAMD, a molecular dynamics applications also sees performance improvements of 10-15% at the scaling end. Building on these ideas, we have developed algorithms and techniques for automatic mapping of parallel applications to relieve the application developers of this burden. We use the hop-bytes metric for the evaluation of mapping algorithms and suggest that it is a better metric than the previously used maximum dilation metric. The main focus of this research is on developing topology aware mapping algorithms for parallel applications with regular and irregular communication patterns. The automatic mapping framework is a suite of such algorithms with capabilities to choose the best mapping for a problem with a given communication graph.
Software available for download
Contributions of this research
Our work is among the first to discuss the effects of contention on Cray and IBM machines and to compare across multiple architectures. Contrary to popular belief that Cray machines do not stand to benefit from topology mapping, this research proves otherwise and provides detailed methods and results for performance improvements from topology mapping on them. Another contribution of this work is an API for topology discovery which works on both Cray and IBM machines.
We believe that the set of MPI benchmarks we have developed for quantifying message latencies would be useful for the HPC community to assess latencies on a supercomputer and to determine the message sizes for which number of hops makes a significant difference. The effective bandwidth benchmark in the HPC Challenge benchmark suite measures the total bandwidth available on a system but does not analyze the effects of distance or contention on message latencies. Results from MPI benchmarks re-establish the importance of mapping for the current supercomputers.
Our experience in developing mapping algorithms for production codes and insights discussed in this work will be useful to individual application writers trying to scale their codes to large supercomputers. We believe that the automatic mapping framework is applicable to a wide variety of communication scenarios and will relieve the application writers from the burden of finding good mapping solutions for their codes. Application developers can use this framework for mapping of their applications without any changes to their code base. Unlike most of the previous work, this research handles both cardinality and topological variations in the graphs. The framework provides scalable and fast, runtime solutions. Therefore, it will be useful to a large body of applications running on large parallel machines.
There has not been much research on mapping of unstructured mesh applications for performance optimizations and this research takes up at that task. We have also started developing scalable techniques for distributed load balancing in an effort to move away from centralized mapping decision algorithms.
Papers / Talks
-
17-022017
PaperAutomatic topology mapping of diverse large-scale parallel applications
- Juan Galvez
- Nikhil Jain
- Laxmikant Vasudeo Kale
-
16-212016
PosterACM SRC: Mapping Applications on Irregular Allocations
- Seonmyeong Bak
- Nikhil Jain
- Laxmikant Vasudeo Kale
-
16-112016
PaperEvaluating HPC Networks via Simulation of Parallel Workloads
- Nikhil Jain
- Abhinav Bhatele
- Sam White
- Todd Gamblin
- Laxmikant Vasudeo Kale
-
16-052016
PaperOpenAtom: Scalable Ab-Initio Molecular Dynamics with Diverse Capability
- Nikhil Jain
- Eric Bohm
- Eric Mikida
- Subhasish Mandal
- Minjung Kim
- Prateek Jindal
- Qi Li
- Sohrab Ismail-Beigi
- Glenn Martyna
- Laxmikant Vasudeo Kale
-
16-042016
PaperAnalyzing network health and congestion in dragonfly-based systems
- Abhinav Bhatele
- Nikhil Jain
- Yarden Livnat
- Valerio Pascucci
- Peer-Timo Bremer
-
16-022016
Phd Thesis -
15-032015
PaperIdentifying the Culprits behind Network Congestion
- Abhinav Bhatele
- Andrew Titus
- Jayaraman Thiagarajan
- Nikhil Jain
- Todd Gamblin
- Peer-Timo Bremer
- Martin Schulz
- Laxmikant Vasudeo Kale
-
14-142014
PaperOptimizing the performance of parallel applications on a 5D torus via task mapping
- Abhinav Bhatele
- Nikhil Jain
- Katherine E. Isaacs
- Ronak Akshay Buch
- Todd Gamblin
- Steven H. Langer
- Laxmikant Vasudeo Kale
-
14-042014
PaperMaximizing Throughput on a Dragonfly Network
- Nikhil Jain
- Abhinav Bhatele
- Xiang Ni
- Nicholas J. Wright
- Laxmikant Vasudeo Kale
-
13-182013
PaperPredicting Application Performance using Supervised Learning on Communication Features
- Nikhil Jain
- Abhinav Bhatele
- Michael P. Robson
- Todd Gamblin
- Laxmikant Vasudeo Kale
-
13-132013
Talk -
11-362011
TalkHeuristic-based Techniques for Mapping Irregular Communication Graphs to Mesh Topologies
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
11-222011
PaperImproving Communication Performance in Dense Linear Algebra via Topology Aware Collectives
- Edgar Solomonik
- Abhinav Bhatele
- James Demmel
-
11-212011
PaperAvoiding Hot-Spots on Two-Level Direct Networks
- Abhinav Bhatele
- Nikhil Jain
- William D Gropp
- Laxmikant Vasudeo Kale
-
11-122011
PaperHeuristic-Based Techniques for Mapping Irregular Communication Graphs to Mesh Topologies
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
10-182010
PaperAutomated Mapping of Regular Communication Graphs on Mesh Interconnects
- Abhinav Bhatele
- Gagan Gupta
- Laxmikant Vasudeo Kale
- I-Hsin Chung
-
10-072010
PaperAutomated Mapping of Structured Communication Graphs onto Mesh Interconnects
- Abhinav Bhatele
- I-Hsin Chung
- Laxmikant Vasudeo Kale
-
10-042010
PaperOptimizing Communication for Charm++ Applications by Reducing Network Contention
- Abhinav Bhatele
- Eric Bohm
- Laxmikant Vasudeo Kale
-
09-162009
PosterTopology Aware Task Mapping Techniques: An API and Case Study
- Abhinav Bhatele
- Eric Bohm
- Laxmikant Vasudeo Kale
-
09-072009
PaperQuantifying Network Contention on Large Parallel Machines
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
09-042009
PaperA Pattern Language for Topology Aware Mapping
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
- Nicholas Chen
- Ralph Johnson
-
09-022009
PaperDynamic Topology Aware Load Balancing Algorithms for Molecular Dynamics Applications
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
- Sameer Kumar
-
09-012009
PaperAn Evaluative Study on the Effect of Contention on Message Latencies in Large Supercomputers
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
08-182008
PosterEffects of Contention on Message Latencies in Large Supercomputers
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
08-172008
PosterAutomatic Topology-Aware Task Mapping for Parallel Applications Running on Large Parallel Machines
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
08-102008
PaperA Case Study of Communication Optimizations on 3D Mesh Interconnects
- Abhinav Bhatele
- Eric Bohm
- Laxmikant Vasudeo Kale
-
08-072008
PaperBenefits of Topology Aware Mapping for Mesh Interconnects
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
08-022008
PaperApplication-specific Topology-aware Mapping for Three Dimensional Topologies
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
-
07-122007
MS Thesis -
07-032007
PaperFine Grained Parallelization of the Car-Parrinello ab initio MD Method on Blue Gene/L
- Eric Bohm
- Abhinav Bhatele
- Laxmikant Vasudeo Kale
- Mark Tuckerman
- Sameer Kumar
- John Gunnels
- Glenn Martyna
-
05-192005
PaperPerformance Visualization and Analysis of Parallel Discrete Event Simulations with Projections
- Chee Wai Lee
- Terry Wilmarth
- Laxmikant Vasudeo Kale
-
05-182005
PaperTopology-Aware Task Mapping for Reducing Communication Contention on Large Parallel Machines
- Tarun Agarwal
- Amit Sharma
- Laxmikant Vasudeo Kale
-
05-092005
MS Thesis -
05-072005
MS Thesis