In-Kernel Aggregation and Broadcast Acceleration for Distributed Communication

Агрегация и ускорение широковещательной рассылки в ядре операционной системы для распределённого взаимодействия
Baevski, Alexei, Zhou, Henry, Mohamed, Abdelrahman, Michael Auli
2020-06-20

broadcast accelerationdistributed communicationeBPFedge quantizationin-kernel aggregation
Broadcasting and aggregation dominate the communication overhead in distributed systems, from machine learning training to data analytics. Current acceleration approaches require specialized hardware (RDMA) or dedicated resources (DPDK), limiting their deployment in commodity clouds. However, we present a counter-intuitive alternative: rather than bypassing the kernel, we move operations into it using eBPF. While this imposes severe constraints including no floating-point, limited memory, and stateless execution, we show these restrictions paradoxically drive innovative protocol designs that yield unexpected benefits. We introduce AggBox, which implements broadcast and aggregation operations entirely within eBPF’s constrained environment. Our key innovations include stateless group acknowledgments for reliability, edge quantization for floating-point aggregation using only integer arithmetic, and tail-call chains that create virtual memory beyond eBPF’s 512-byte stack limit. These designs emerge from and exploit the constraints rather than fighting them. AggBox achieves remarkable performance on commodity hardware: 84.5% reduction in broadcast latency, 43× speedup for MapReduce workloads, and 56.1% faster ML gradient aggregation, all without specialized NICs or dedicated cores. Beyond performance, our work demonstrates that constrained environments can drive fundamental innovation in protocol design, offering insights for future resource-limited and verified systems.
1
AggBox accelerates broadcast and aggregation entirely within eBPF, enabling deployment on commodity hardware without specialized NICs or dedicated cores.
2
AggBox reduces broadcast latency by 84.5%, delivers 43× speedup for MapReduce workloads, and makes ML gradient aggregation 56.1% faster.
3
Edge quantization enables floating-point aggregation using only integer arithmetic within eBPF’s restricted environment.
4
Stateless group acknowledgments provide reliable broadcast under eBPF’s stateless execution constraints.
5
Tail-call chains provide virtual memory beyond eBPF’s 512-byte stack limit, supporting more complex communication operations.

broadcast and aggregation operations in distributed systems implemented within eBPF

the performance and protocol-design mechanisms enabling reliable, resource-efficient broadcast and aggregation under eBPF constraints

Publication Details
Publication Date
2020-06-20
Journal
Publisher
ISSN
Access Type
Author Information
Authors
Baevski, Alexei
Zhou, Henry
Mohamed, Abdelrahman
Michael Auli
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%