Fast and Accurate Software Traffic Shaping With Inter-Flow Batching
- 27 October 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Networking
- Vol. 34, 324-338
Abstract
Traffic shaping is a fundamental function at end hosts. While software-based shapers are more flexible to develop and deploy compared to their hardware counterparts, they often struggle to achieve speeds of 40Gbps and beyond. Previous efforts have largely focused on reducing intrinsic overheads. However, we find that extrinsic overheads, such as PCIe communication and interrupts, pose significant barriers to higher performance. Batching, a common technique in operating systems, can effectively amortize these overheads, but blindly batching degrades the transmission performance as it introduces traffic burst into the network. Diving into the dilemma, we find that intra-flow burst is the main culprit for harming the network performance, whereas inter-flow burst, consisting of packets from different flows, can often be naturally demultiplexed within the network. Leveraging the insight, we propose FlowBundler, which can achieve efficient traffic shaping by inter-flow batching. Testbed experiments show that FlowBundler can achieve an accurate shaping of 98Gbps with a single CPU core — $2.6\times $ higher than state-of-the-art approaches. Large-scale simulations confirm that FlowBundler preserves network performance while effectively batching packet transmissions.Keywords
Funding Information
- National Key Research and Development Program of China (2022YFB2901700)
- National Natural Science Foundation of China (62372363)
- National Natural Science Foundation of China (62132007)
- National Natural Science Foundation of China (62172323)
- National Natural Science Foundation of China (62272382)
- National Natural Science Foundation of China (624722451)
This publication has 31 references indexed in Scilit:
- ScalaTap: Scalable Outbound Rate Limiting in Public Cloud2025
- Burst can be Harmless: Achieving Line-rate Software Traffic Shaping by Inter-flow Batching2023
- PIPO: Efficient Programmable Scheduling for Time Sensitive Networking2021
- Scalable On-Switch Rate Limiters for the Cloud2021
- Towards the Fairness of Traffic Policer2021
- Design and Implementation of TCP-Friendly Meters in P4 SwitchesIEEE/ACM Transactions on Networking, 2020
- Improving ECN marking scheme with micro-burst traffic in data center networks2017
- Network traffic characteristics of data centers in the wild2010
- Data center TCP (DCTCP)2010
- Experimental study of router buffer sizing2008