LOSM: Leveraging OpenMP and Shared Memory for Accelerating Blocking MPI Allreduce

This paper introduces a novel method for optimizing the performance of MPI Allreduce calls in distributed deep learning applications. Our approach maximizes efficiency by utilizing all available cores within an MPI process, both for single and multi-node blocking MPI Allreduce calls. Unlike previous methods that involve separate and exclusive core allocation for compute and communication, our approach leverages all available cores to drive both memory and network. For single-node scenarios, we employ OMP pragmas to efficiently utilize multiple cores for memory copies and reductions within shared memory. In multi-node, we leverage multiple cores to concurrently copy data into shared memory and drive the network, via multiple MPI endpoints. Our technique requires no modification to existing application binaries and demonstrates significant speedup (≥ 4X) on allreduce microbenchmark and up to 16% application performance improvement, on BERT [1] for MLPERF configurations, as compared to the baseline MPI.

Authors

Institutions

Publication Details

Published
2024-12-18
DOI
https://doi.org/10.1109/hipcw63042.2024.00039
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LOSM: Leveraging OpenMP and Shared Memory for Accelerating Blocking MPI Allreduce

Dhiraj Kalamkar, N. Uma Maheswari, Karthikeyan Vaidyanathan, Pranjal Walia et al.
Parallel Computing and Optimization Techniques
article

LOSM: Leveraging OpenMP and Shared Memory for Accelerating Blocking MPI Allreduce

Dhiraj Kalamkar, N. Uma Maheswari, Karthikeyan Vaidyanathan, Pranjal Walia, Ishan Shanware
article en

Abstract

This paper introduces a novel method for optimizing the performance of MPI Allreduce calls in distributed deep learning applications. Our approach maximizes efficiency by utilizing all available cores within an MPI process, both for single and multi-node blocking MPI Allreduce calls. Unlike previous methods that involve separate and exclusive core allocation for compute and communication, our approach leverages all available cores to drive both memory and network. For single-node scenarios, we employ OMP pragmas to efficiently utilize multiple cores for memory copies and reductions within shared memory. In multi-node, we leverage multiple cores to concurrently copy data into shared memory and drive the network, via multiple MPI endpoints. Our technique requires no modification to existing application binaries and demonstrates significant speedup (≥ 4X) on allreduce microbenchmark and up to 16% application performance improvement, on BERT [1] for MLPERF configurations, as compared to the baseline MPI.

International Institute of Information Technology Bangalore (IN), Intel (India) (IN)
Openalex Percentile: Top 69%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

LOSM: Leveraging OpenMP and Shared Memory for Accelerating Blocking MPI Allreduce — Dhiraj Kalamkar, N. Uma Maheswari, et al. · (2024) | TGRS Research Map | TGRS