Manuscript Offprint

arXiv:2610.22890

MailRail: Mitigating Incast Congestion with User-Space, Node-Based Flow Control

Noel Gomillion, Lance Fletcher, Trevor Steil, Eun Jung Kim, Roger Pearce

Noel Gomillion †‡^{\dagger\ddagger}, Lance Fletcher ‡^{\ddagger}, Trevor Steil †^{\dagger}, Eun Jung Kim ‡^{\ddagger}, Roger Pearce †‡^{\dagger\ddagger}

†^{\dagger}Center for Applied Scientific Computing; Lawrence Livermore National Laboratory

‡^{\ddagger}Department of Computer Science and Engineering; Texas A&M University

{gomillion1, steil1, rpearce}@llnl.gov, {ngomillion, lance.fletcher, ejkim, rpearce}@tamu.edu

Abstract—Irregular workloads, such as those stemming from Graph Neural Networks (GNNs) and Mixture-of-Experts (MoE) models, frequently induce severe incast congestion in large-scale parallel environments. Existing fabric-level congestion control mechanisms rely on reactive, link-level rate limiting that degrades overall throughput. While receiver-driven, credit-based flow control offers a proactive alternative, as process counts scale memory slots per rank fall below usable thresholds, rendering traditional rank-based accounting untenable. To address this challenge, we introduce MailRail, an out-of-order, asynchronous messaging framework, along with a novel user-space, node-based credit flow control system. By shifting credit accounting from individual processes to shared per-node pools, our proactive, fabric-agnostic approach maintains sufficient credit availability even as process density grows, enabling processes to dynamically utilize freed credits without waiting for receiver-side redistribution. Experimental evaluations demonstrate that node-based flow control achieves up to a 1132×1132\times speedup over unconstrained execution at an adversarial incast ratio of 4096:1 while adding minimal overhead on uniform workloads.

Index Terms—flow control, asynchronous communication, in-cast communication

I. INTRODUCTION

Both Graph Neural Networks (GNNs) and Mixture-of-Experts (MoE) models generate highly irregular communication patterns that are inherently prone to inducing incast congestion, a severe bottleneck where many sender processes simultaneously flood a small set of receiving victim processes [1]–[3]. GNNs use real-world datasets for training, which typically exhibit power-law degree distributions [4], [5]. During training, aggregating features from hub nodes causes fan-in traffic unless mitigation techniques are used. In MoE models, used to make AI inference more scalable, tokens are routed to a subset of experts. Some experts prove more popular than others, creating many-to-one traffic spikes at GPUs hosting those experts during All-to-All collectives [1].

As one of the most destructive forms of network congestion in distributed architectures, incast congestion causes severe communication stalls, leaving high-speed compute and memory resources underutilized and significantly degrading overall system throughput to near zero [6], [7]. In lossless network fabrics, link-level flow control prevents packet loss by backpressuring senders when receiver buffers saturate. During incast communication, the victims' buffers quickly saturate, forcing upstream senders to stall. Congestion spreading ensues, causing severe performance degradation. Thus, congestion control represents a critical challenge in high-performance computing (HPC). Current incast mitigation strategies focus on hardware-level solutions that are reactive instead of proactive. These include sender rate limiting, which has been shown to degrade effective throughput rates [1], [6].

To overcome these limitations, end-to-end, receiver-driven, credit-based flow control offers a proactive alternative by tying transmission credits directly to pre-allocated buffer memory at the receiver, bounding in-flight traffic before congestion occurs [8], [9]. However, as supercomputer core counts and process densities scale, traditional rank-based credit accounting faces severe memory constraints: dividing receiver memory among thousands of sending processes reduces available credits to less than one buffer slot per rank, rendering rank-based accounting untenable.

While traditional rank-based flow control manages credits on a per-process (MPI rank) basis, node-based flow control aggregates credit accounting into a shared, per-node pool accessed dynamically by all local ranks on the same physical host. By shifting credit accounting from individual processes to shared per-node pools, local sending ranks can dynamically access a collective quota of credits, maintaining high throughput and credit availability even when receiver memory slots fall below one per rank. Although receiver-side credit redistribution strategies attempt to adapt to shifting process demands [6], [10]–[12], they remain inherently reactive by relying on the receiver to detect communication bottlenecks and adjust allocations across the network. In contrast, sender-side node-based credit pooling naturally reallocates available credits instantaneously as local processes complete their transfers.

In this work, we introduce MailRail, an asynchronous messaging framework designed for high-performance out-of-order communication. Within MailRail, we propose two end-to-end, user-space, credit-based flow control mechanisms to address incast congestion in a fabric-agnostic manner: rank-based flow control, which manages credits per process, and node-based flow control, which aggregates credits into host-level shared pools. We evaluate MailRail across synthetic benchmarks and real-world application traces, including an adversarial incast benchmark, a uniform-traffic histogram workload, and trace replays from YGM, LLNL's asynchronous distributed active message runtime [13]. Experimental results show that node-based flow control consistently outperforms traditional rank-based and unconstrained execution, achieving up to a 1132×1132\times speedup at an adversarial incast ratio of 4096:1, sustaining

SC26 Workshops, November 15-20, 2026, Chicago, Illinois, USA 979-8-3195-1221-5/26/$31.00 ©2026 IEEE consistent goodput under extreme 4096:1 incast ratios, and demonstrating linear runtime scaling as the workload per victim increases.

The main contributions of this work are:

• an asynchronous messaging API for out-of-order communication;

  • two end-to-end, user-space, receiver-driven, credit-based flow control solutions to the incast communication problem that are network-fabric agnostic: rank-based flow control and node-based flow control;

• an adversarial benchmark for testing incast communication performance under various incast ratios;

• an analysis of incast sensitivity during unconstrained execution on the supercomputers Dane and Lynx.

The remainder of this paper is organized as follows: Section II discusses background and related work on congestion control mechanisms. Section III presents the MailRail messaging interface, while Section IV details our rank-based and node-based flow control implementations. Section V describes our experimental methodology and performance evaluations across synthetic benchmarks and application traces. Finally, Section VI concludes the paper and outlines future work.

References (22)