NSDI '26 - Net-P4ct: Enhanced WAN Bandwidth Fair Sharing Using P4 Programmable Switches
Why It Matters
By moving bandwidth enforcement into programmable switches, NetPack dramatically cuts CPU load and improves WAN utilization, enabling faster, more reliable service provisioning at lower cost.
Key Takeaways
- •NetPack moves bandwidth enforcement from hosts to P4 switches.
- •Host agents consume excessive CPU; NetPack reduces usage below 3%.
- •Guarantees minimum bandwidth while allowing work‑conserving excess sharing.
- •Uses DCP marking and weighted fair queuing for enforcement.
- •Scalable across clusters; failsafe fallback ensures continuous connectivity.
Summary
The talk introduces NetPack, a WAN‑wide bandwidth management system that shifts traffic policing from per‑host eBPF agents to line‑rate P4 programmable switches. By installing service‑specific policies at ingress points, NetPack can recognize jobs via a unique identifier and enforce guaranteed and weighted‑fair allocations across distributed data centers. Key insights include the high CPU cost of host agents—millions of agents would consume tens of thousands of cores—and the difficulty of maintaining dozens of kernel versions. NetPack defines a job model with reserved and non‑reserved capacity pools, applies a water‑filling algorithm for weighted fairness, and replaces traditional rate‑limiting with DCP (Differentiated Congestion Point) marking that drives strict‑priority queuing on the switches. Operational results show that, even with 16,000 concurrent flows, NetPack’s CPU overhead stays under 3% while a host‑based solution approaches 15%. The system also supports cluster scaling, active failure probing, and a fallback path that bypasses the P4 cluster entirely, ensuring uninterrupted service. For operators, NetPack delivers higher link utilization, predictable service‑level guarantees, and a scalable enforcement plane that can be extended to other silicon platforms, reducing both capital and operational expenditures.
Comments
Want to join the conversation?
Loading comments...