P4eBalancer: Leveraging P4 and eBPF for Optimized Load Balancing with Network and Host Insights
Open Access
- 19 May 2025
- conference paper
- Published by Sociedade Brasileira de Computação
- p. 392-405
Abstract
Load balancing solutions monitor the infrastructure and redistribute network traffic or application requests in order to adapt to variations in network or server loads. However, these schemes rely on monitoring mechanisms that observe only specific segments of the infrastructure, i.e., network core or end-hosts, which may lead them to make suboptimal decisions. In this paper, we present P4eBalancer, a system that leverages an advanced monitoring mechanism capable of observing the entire distributed infrastructure to make loadbalancing decisions. P4eBalancer incorporates an intelligent offline control loop, operating in the control plane, making global decisions with a reinforcement learning agent, and an online control loop in edge switches, which makes quick decisions and reacts to network variations. We implemented a prototype using the BMv2 P4 software switch. Our results show that P4eBalancer can make better load balancing decisions using end-to-end metrics.Keywords
This publication has 24 references indexed in Scilit:
- P4NetIntel: End-to-End Network Telemetry with eBPF and XDP2024
- P4Hauler: An Accelerator-Aware In-Network Load Balancer for Applications Performance BoostingIEEE Transactions on Cloud Computing, 2024
- CLB: Coarse-Grained Precision Traffic-Aware Weighted Cost Multipath Load Balancing on PISAIEEE Transactions on Network and Service Management, 2022
- Efficient Network Monitoring Applications in the Kernel with eBPF and XDP2021
- Adaptive Multipath Routing based on Hybrid Data and Control Plane Operation2019
- A Weighted ECMP Load Balancing Scheme for Data Centers Using P4 Switches2018
- Towards knowledge-defined networking using in-band network telemetry2018
- Load Balancing in Data Center Networks: A SurveyIEEE Communications Surveys & Tutorials, 2018
- Theory and Practice of Bloom Filters for Distributed SystemsIEEE Communications Surveys & Tutorials, 2011
- Reinforcement Learning: An IntroductionIEEE Transactions on Neural Networks, 1998