Breaking Bucket Effect in In-Network Aggregation via Memory-Bandwidth Coordination
Junxu Xia, Geyao Cheng, Deke Guo, Lailong Luo, Wenfei Wu
Abstract
In-Network Aggregation (INA) has become an effective technique for accelerating distributed training by offloading gradient aggregation to programmable switches. However, existing INA protocols often suffer from the "Bucket Effect", where performance is limited by the scarcest resource along the transmission path, such as switch memory or link bandwidth. To overcome this limitation, we propose PAP, a progressive aggregation protocol that enables best-effort INA by dynamically coordinating switch memory and link bandwidth resources across the entire transmission path. PAP also addresses two critical reliability challenges: the mutual waiting lock problem caused by unresolved hash collisions, and incomplete aggregation due to non-deterministic packet processing. To this end, PAP incorporates a sequence-based mechanism for collision detection and a counter-based mechanism for identifying aggregation completion. Furthermore, it introduces a retransmission-aware recovery strategy to ensure correctness under packet loss. Experimental results on an FPGA-based testbed demonstrate that PAP can improve INA throughput by 21.2% to 132.2% and reduce distributed training time by 13.7% to 31.2% compared with state-of-the-art methods.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 5415495b-7ec8-4bc2-888c-e828edd8c34fRelated papers
- Training Job Placement in Clusters with Statistical In-Network AggregationBohan Zhao, Wei Xu, Shuo Liu, Yang Tian et al.ASPLOS 2024 · 17 citations
- ATP: In-network Aggregation for Multi-tenant LearningChonLam Lao, Yanfang Le, Kshiteej Mahajan, Yixi Chen et al.NSDI 2021 · 359 citations
- A2TP: Aggregator-aware In-network Aggregation for Multi-tenant LearningZhaoyi Li, Jiawei Huang, Yijun Li, Aikun Xu et al.EuroSys 2023 · 35 citations
- InArt: In-Network Aggregation with Route Selection for Accelerating Distributed TrainingJiawei Liu, Yutong Zhai, Gongming Zhao, Hongli Xu et al.WWW 2024 · 13 citations
- Host-driven In-Network Aggregation on RDMAYulong Li, Wenxin Li, Yinan Yao, Yuxuan Du et al.INFOCOM 2024 · 1 citation
