FlowValve: Packet Scheduling Offloaded on NP-based SmartNICs
Authors:
- 1 July 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 347-358
Abstract
Enforcing scheduling policies at end-hosts with software schedulers suffers from high CPU consumption, low throughput, and inaccuracy. Offloading scheduling functions to the network interface card (NIC) provides a promising direction to address these problems. However, existing efforts in scheduling offloading suffer from inflexible on-NIC packet schedulers, which cannot execute complex hierarchies of network policies. In this paper, we present FlowValve, the first parallel packet scheduler for Network Processor (NP)-based SmartNICs that offloads critical functions of Linux traffic control, including packet classifying and scheduling. The key insight behind FlowValve is to abstract inherent queues attached to the NIC interface (wire side) as a single FIFO queue and perform specialized tail drop to mix the FIFO queue with expected flow proportions. FlowValve takes advantage of on-chip multi-core parallelism and hardware accelerations to produce high throughput. Meanwhile, it substantially reduces CPU and memory burdens on end-hosts. We prototype FlowValve on a Netronome Agilio SmartNIC and demonstrate its effectiveness against non-offloaded kernel schedulers and DPDK QoS Scheduler. We find that FlowValve outperforms both in accurately enforcing network policies while driving line rate performance (i.e., 40Gbps), which contributes to saving at least two CPU cores.Keywords
Funding Information
- Research and Development
- National Natural Science Foundation of China
This publication has 9 references indexed in Scilit:
- DeepMatch2020
- Swift2020
- Fast, scalable, and programmable packet scheduler in hardware2019
- KV-Direct2017
- Carousel2017
- Programmable Packet Scheduling at Line Rate2016
- TIMELYACM SIGCOMM Computer Communication Review, 2015
- BwE2015
- P4ACM SIGCOMM Computer Communication Review, 2014