arrow
Return

ALEPH: Accelerating Distributed Training With eBPF-Based Hierarchical Gradient Aggregation

delete2024-10-01
delete0
PRE
AI
P
Peng Yang
徐宏力 (Hongli Xu) *
G
Gongming Zhao
Q
Qianyu Zhang
J
Jiawei Liu
C
Chunming Qiao
DOI:10.1109/TNET.2024.3404999delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Distributed training includes two important operations: gradient transmission and gradient aggregation, which will consume massive bandwidth and computing resources. To achieve efficient distributed training, one must overcome two critical challenges: heterogeneity of bandwidth resources and limitation of computing resources among compute nodes. Existing architectures based on Parameter Server (PS) and All-Reduce (AR) fail to cope with these challenges because the PS will aggregate gradients from all workers and suffers from bandwidth bottlenecks, while AR intends to alleviate bandwidth bottlenecks at the PS, but the workers need to process many gradient packets thus can be overloaded. To address these shortcomings, we design a new distributed training system called ALEPH. In the control plane, ALEPH uses an efficient algorithm to group workers into clusters with different sizes so as to fully utilize heterogeneous bandwidth. We show that the proposed algorithm can achieve a good approximation performance. In the data plane, ALEPH leverages, for the first time, extended Berkeley Packet Filter (eBPF) programs to aggregate and forward gradient packets to reduce computation overhead. We show how to overcome several hurdles in using eBPF for distributed training. We implement ALEPH and evaluate its performance on a small-scale testbed and large-scale simulations. Experimental results show that ALEPH reduces training time by 20%-31% and increases bandwidth utilization by 88% compared with state-of-the-art frameworks.
Keywords:
Training
Bandwidth
Computer architecture
Aggregates
Clustering algorithms
Servers
Kernel
Distributed training
hierarchical aggregation
eBPF
XDP
datacenter

Journal

I
IEEE-ACM Transactions on Networking
IF:
3.6
Papers:
4.4K
Citations:
9.5K

Organization

C
chinese academy of sciences
Scholars:
55.9W
Papers: 44.7W
Citations: 704