GPU-aware Communication with UCX in Parallel Programming Models: Charm++, MPI, and Python
Jaemin Choi, Zane Fink, Sam White et al. · IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW) · 2021
As an increasing number of leadership-class systems embrace GPU accelerators in the race towards exascale, efficient communication of GPU data is becoming one of the most critical components of high-performance computing. For developers of parallel programming models, implementing support for GPU-aware communication using native APIs for GPUs such as CUDA can be a daunting task as it requires considerable effort with little guarantee of performance. In this work, we demonstrate the capability of the Unified Communication X (UCX) framework to compose a GPU-aware communication layer that serves multiple parallel programming models of the Charm++ ecosystem: Charm++, Adaptive MPI (AMPI), and Charm4py. We demonstrate the performance impact of our designs with microbenchmarks adapted from the OSU benchmark suite, obtaining improvements in latency of up to 10.2x, 11.7x, and 17.4x in Charm++, AMPI, and Charm4py, respectively. We also observe increases in bandwidth of up to 9.6x in Charm++, 10x in AMPI, and 10.5x in Charm4py. We show the potential impact of our designs on real-world applications by evaluating a proxy application for the Jacobi iterative method, improving the communication performance by up to 12.4x in Charm++, 12.8x in AMPI, and 19.7x in Charm4py.
Cited by 10 works. doi:10.1109/ipdpsw52791.2021.00079 Open-access PDF
Authors
References
- Cython: The Best of Both Worlds
- MVAPICH2-GPU: optimized GPU to GPU communication for InfiniBand clusters
- UCX: An Open Source Framework for HPC Network APIs and Beyond
- Parallel Programming with Migratable Objects: Charm++ in Practice
- Efficient Inter-node MPI Communication Using GPUDirect RDMA for InfiniBand Clusters with NVIDIA GPUs
- Optimizing MPI Communication on Multi-GPU Systems Using CUDA Inter-Process Communication
- Adaptive MPI
- OMB-GPU: A Micro-Benchmark Suite for Evaluating MPI Libraries on GPU Clusters
- A Brief Introduction to the OpenFabrics Interfaces - A New Network API for Maximizing High Performance Application Efficiency
- The development of Mellanox/NVIDIA GPUDirect over InfiniBand—a new model for GPU to GPU communications