GPU-aware Communication with UCX in Parallel Programming Models: Charm++, MPI, and Python
Department of Computer Science, University of Illinois at Urbana-Champaign, Urbana, Illinois, USA
arXiv:2102.12416 [cs.DC], (24 Feb 2021)
@misc{choi2021gpuaware,
title={GPU-aware Communication with UCX in Parallel Programming Models: Charm++, MPI, and Python},
author={Jaemin Choi and Zane Fink and Sam White and Nitin Bhat and David F. Richards and Laxmikant V. Kale},
year={2021},
eprint={2102.12416},
archivePrefix={arXiv},
primaryClass={cs.DC}
}
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 developed out of the Charm++ ecosystem, including MPI and Python: 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 weak and strong scaling performance of a proxy application that performs the Jacobi iterative method, improving the communication performance by up to 12.4x in Charm++, 12.8x in AMPI, and 19.7x in Charm4py.
February 28, 2021 by hgpu