arXiv:2610.01587cs.DCOct 2026

Manuscript Offprint

arXiv:2610.01587

Exploiting the Interplay of Compute- and Memory-Bound kernels in MPI Applications

Ayesha Afzal, Krishna Manda, Georg Hager

Ayesha Afzal

Erlangen National High Performance

Computing Center (NHR@FAU)

Erlangen, Germany

ORCID: 0000-0001-5061-0438

Email: ayesha.afzal@fau.de

Krishna Manda

University of Bonn

Germany

ORCID: 0000-0002-9744-3080

Email: kmanda@uni-bonn.de

Georg Hager

Erlangen National High Performance

Computing Center (NHR@FAU)

Erlangen, Germany

ORCID: 0000-0002-8723-2781

Email: georg.hager@fau.de

Abstract—Parallel applications are often designed for synchronous, lock-step execution, treating communication stalls as performance hazards. Yet, in a communication-light application without frequent synchronization points that alternates between compute-bound memory-bound execution, an MPI communication stall can act as an unintentional relief on memory-bandwidth contention. We demonstrate this using a Parallel Optical Flow Solver, which combines a compute-bound Ray Tracing kernel with a memory-bound Optical Flow Solver kernel and negligible inter-process communication. This program shows considerable speedup via desynchronization and automatic overlap between compute- and memory-bound phases, showing that natural desynchronization is an architecture-aware optimization. An optimal speedup is achieved when the number of processes concurrently executing the memory-bound phase on a ccNUMA domain is near the bandwidth saturation point. We also show a case where reducing communication overhead using MPI asynchronous progress significantly degrades performance because it allows too many ranks to contend for memory bandwidth simultaneously. In order to study the dynamics under more controlled conditions, we develop a tunable dual-kernel microbenchmark, with which we show that significant application or system noise (natural or injected) is required to achieve full desynchronization. Finally, we also validate these results using a bandwidth-aware, model-based simulator.

Index Terms—MPI Parallel Applications, Desynchronization, Memory-/compute-bound, Performance Modeling, Simulation

I. INTRODUCTION AND RELATED WORK

High-Performance Computing (HPC) applications are often designed with synchronous, lock-step execution, alternating between computation and communication phases. On real systems, this ideal is rarely achieved: Workload imbalance, system noise, and bottlenecks cause processes to diverge, a behavior known as desynchronization [1]. It is usually considered a performance hazard, since a stalled MPI process means idle hardware, and the standard engineering response is to remove whatever is causing the stall. This paper shows a case where this assumption can fail. In a communication-light multi-kernel application combining compute-bound and memory-bound kernels, an MPI communication stall can act as an unintentional relief on memory-bandwidth contention; removing it by any means can reduce throughput. This behavior arises because compute-bound and memory-bound kernels scale fundamentally differently: Compute-bound phases continue to benefit from additional cores, whereas memory-bound phases quickly saturate the shared bandwidth on a ccNUMA domain. Their interaction can therefore create spontaneous desynchronization even when communication is negligible. In addition, desynchronization can provide a performance boost by preventing excessive simultaneous demand on shared bottlenecks [2].

Related Work: Prior research on desynchronization has focused mainly on communication-heavy workloads, where synchronization delays propagate as idle waves [3]–[5] and analytic models describe their evolution [1]. Studies of large-scale applications have also analyzed synchronization inefficiencies and wait states [6], while resilience techniques for extreme-scale stencil applications address execution disruptions through local recovery and failure masking [7]. Asynchronous update methods further explore relaxing lock-step execution constraints to improve scalability [8] Related performance models include the Execution-Cache-Memory (ECM) model [9], the Roofline model [10], and communication-cost models such as Hockney's model [11]. These models support the analysis on real hardware or simulation via DisCostiC [12], [13], but they primarily target single-kernel or communication-driven behavior. In memory-bound workloads, prior work introduced the concept of saturation cores, showing that once too many cores compete for shared memory bandwidth, performance degrades regardless of available compute capacity, and that desynchronization can emerge naturally from bandwidth variation across ccNUMA domains [14]. Other studies investigate communication-computation overlap using non-blocking communication [15], [16], but communication remains the primary source of desynchronization.

Research Gap: This phenomenon extends beyond single-kernel solvers. Many HPC and simulation pipelines combine compute-intensive and memory-intensive phases, such as rendering integrated with physics simulations or machine learning preprocessing and post-processing around memory-bound inference. These heterogeneous kernels exhibit fundamentally different scaling behavior, yet existing desynchronization studies largely attribute performance effects to communication rather than kernel interaction. Unlike the communication-heavy halo-exchange workloads dominating prior desynchron nization studies, these applications may communicate little between processes but can exploit controlled desynchronization as a performance lever.

This work addresses the missing case of desynchronization driven by heterogeneous kernel interaction rather than communication or bandwidth variance alone. Specifically, we ask whether kernel heterogeneity itself can become a beneficial source of desynchronization, and under which combinations of memory-to-compute workload fraction and memory-bandwidth saturation, and communication behavior this effect improves application throughput. While prior work demonstrated that desynchronization effects can be induced and exploited [2], [15], we show that the same bandwidth threshold governs desynchronization in communication-negligible applications where kernel heterogeneity is the driver. An incidental or deliberate stall can keep execution near the memory-bandwidth saturation threshold, turning a phenomenon traditionally viewed as a performance hazard into an optimization opportunity.

Contributions: We study desynchronization in multi-kernel applications: the MPI Parallel Optical Flow Solver and a tunable, controlled Pisolver-Triad benchmark. Each combines a compute-bound kernel (Ray Tracing or Pi Solver) with a memory-bound kernel (Optical Flow or STREAM Triad) and negligible inter-process communication. Concretely, we:

• quantify the performance impact of naturally occurring desynchronization relative to a forced lock-step baseline, and identify the memory-to-compute workload fraction that maximizes this gain;

• show that eliminating MPI communication stalls via asynchronous progress can degrade performance, by removing an incidental relieving effect that had been reducing memory-bandwidth contention;

• analyze the impact of problem size on L3 bandwidth utilization to identify the best sustain desynchronization;

  • validate the real hardware traces against simulated traces using DisCostiC to characterize where and why the idealized simulation diverges from real hardware behavior.

These findings are distilled into a simple design rule: performance is maximized when concurrent memory-bound ranks remain near the hardware's measured bandwidth-saturation threshold, whether regulated by workload ratio, communication stalls, or deliberate noise injection.

Open-source Data Source: All data required to reproduce this work are available in our performance artifact repository 1^{1}. The repository is organized by figure numbers, with each directory containing the corresponding raw results, key numeric data used for plotting, runtime logs, and supporting scripts required for reproduction and figure generation. The artifact also includes input files and documentation of the hardware and software environments used for the experiments, enabling fully reproducible results.

References (21)