Tuning Collective Patterns to Alleviate Congestion in Shared AI Clusters
Eashan Gupta, Yongzhou Chen, Apoorve Mohan, Pavlos Maniotis, Abdullah Kayi, Radhika Mittal
Abstract
Distributed AI training involves recurring rounds of data exchange between multiple pairs of GPU nodes. Slowdown in even one flow due to congestion can cause the entire communication round to slowdown. Current approaches for evading congestion in AI clusters assume global control over the entire workload (e.g. coordinating the schedule of all jobs) or assume infrastructural support (e.g. adaptive routing in switches). They are thus ill-suited in a shared cloud setting where AI jobs belonging to one user can face external congestion from other users' jobs or background traffic beyond its own control. In this paper, we build a system, REACT, that tunes the recurring pattern of data exchange between GPU nodes (known as communication collectives) in response to congestion. REACT works at the application (communication library) layer, where it detects congestion at runtime using readily available flow stats, and tunes the collective pattern to alleviate congestion - changing the set of incident flows while retaining the semantics of information exchange (e.g. selecting which node aggregates data in an AllReduce tree). REACT requires no explicit support from the underlying network infrastructure and can be unilaterally deployed by individual users in a shared cloud setting. We prototype REACT as a shim layer over NCCL, and evaluate it on a shared academic GPU cluster - enabling REACT improves communication performance (algorithm bandwidth) by 13%-38% under network congestion. Our simulations across a range of congestion scenarios further reveal up to 75% performance improvement, highlighting the effectiveness of our approach.
Create a lesson
Metadata
- Categories
- cs.NI, cs.DC, cs.LG
Related papers
Optimal GPU Placement for Collective Communication over Reconfigurable Optical Networks
Shared title terminologycs.NIJiaheng Xiong, Qiaolun Zhang
Policy-Drift-Aware Cognitive Scheduling of Self-Improving Agents for Shared Wi-Fi Networks
Shared title terminologycs.NIBeining Wu, Zihao Ding, Jun Huang
The Value of Disagreement: A Bhattacharyya-augmented Object Selection Function for Collective Perception
Shared title terminologycs.NITengfei Lyu, Dirk Pesch, Aisling O'Driscoll
Beyond Link Quality: Congestion-Aware Sequential Offloading of Robot VLM Inference over Private 5G
Shared title terminologycs.NIHyeju Shin, Jusung Kang, Gicheol Wang et al.
Minimizing Optical Circuit Reconfigurations for Concurrent Collectives
Shared title terminologycs.NIXinchi Han, Weihao Jiang, Xuanyu Wang et al.
Relieving Hotspot Congestion in Large-Scale Low Earth Orbit Satellite Networks via Distributed Dual-Timescale Traffic Splitting
Shared title terminologycs.NIShuyang Li, Guanchen Wu, Qiang Wu et al.