A Fine-Grained Trace Analysis of GPU-initiated Halo Exchange in GROMACS

Strong scaling of molecular dynamics simulations in GROMACS is often limited by halo-exchange communication. Traditional CPU-centric communication approaches stall the GPU, hindering communication-computation overlap. Prior research (Doijade et al., 2025) introduced a GPU-initiated NVSHMEM redesign, fusing data packing and communication into GPU kernels. This demonstrated significant strong-scaling gains (up to 1.5× intra-node, 2× multi-node) based on end-to-end timings. This poster extends that work by providing a granular, low-level trace analysis to dissect how these optimizations contribute to performance at a microsecond level. We employed GPU-side instrumented tracing, using special registers to capture high-resolution timelines of the simulation loop. This methodology allows us to visualize and quantify the interplay between compute, data packing, and asynchronous data transfers, revealing details of concurrent kernel scheduling and overlap. Our trace analysis provides direct, visual evidence of the mechanisms, contrasting MPI's GPU idle time with NVSHMEM's successful overlap. We quantify the reduction in critical-path stalls and demonstrate the underlying mechanisms for previously observed behaviors. This low-level analysis definitively validates how the GPU-initiated NVSHMEM design achieves its gains.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-01-26
DOI
https://doi.org/10.5281/zenodo.18167677
Primary Topic
Protein Structure and Dynamics
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Fine-Grained Trace Analysis of GPU-initiated Halo Exchange in GROMACS

Andrey Alekseenko
Zenodo (CERN European Organization for Nuclear Research)
Protein Structure and Dynamics
article

A Fine-Grained Trace Analysis of GPU-initiated Halo Exchange in GROMACS

Andrey Alekseenko
article en

Abstract

Strong scaling of molecular dynamics simulations in GROMACS is often limited by halo-exchange communication. Traditional CPU-centric communication approaches stall the GPU, hindering communication-computation overlap. Prior research (Doijade et al., 2025) introduced a GPU-initiated NVSHMEM redesign, fusing data packing and communication into GPU kernels. This demonstrated significant strong-scaling gains (up to 1.5× intra-node, 2× multi-node) based on end-to-end timings. This poster extends that work by providing a granular, low-level trace analysis to dissect how these optimizations contribute to performance at a microsecond level. We employed GPU-side instrumented tracing, using special registers to capture high-resolution timelines of the simulation loop. This methodology allows us to visualize and quantify the interplay between compute, data packing, and asynchronous data transfers, revealing details of concurrent kernel scheduling and overlap. Our trace analysis provides direct, visual evidence of the mechanisms, contrasting MPI's GPU idle time with NVSHMEM's successful overlap. We quantify the reduction in critical-path stalls and demonstrate the underlying mechanisms for previously observed behaviors. This low-level analysis definitively validates how the GPU-initiated NVSHMEM design achieves its gains.

Zenodo (CERN European Organization for Nuclear Research)
KTH Royal Institute of Technology (SE)
Openalex Percentile: Top 77%
Protein Structure and Dynamics
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.