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.
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)