{"title":"FDispatcher: Using Flow Director to Accelerate NFV Packet Dispatching","authors":"Hubin Zhang, Wei Mao","doi":"10.1109/CTISC52352.2021.00036","DOIUrl":null,"url":null,"abstract":"Packet dispatching forwards arrival traffic from the network interface card (NIC) to the virtual network functions (VNFs) in each server in network function vir-tualization (NFV) platforms and has been recognized as a fundamental problem. Traditionally, the dispatching has been CPU-intensive, while existing offloading approaches rely on expensive software-defined network (SDN) switches or Smart-NICs. Our paper proposes FDispatcher, an NFV framework that leverages the Flow Director (FDir) feature on the inexpensive off-the-shelf NICs, to bind flows with destination VNFs for CPU-bypassed packet dispatching. However, the number of bindings that FDir supports is far less than the flow concurrency that an NFV middlebox handles. We divide packet dispatching into FDir-assisted fast path and software-based slow path, and then enable fast-path flows monitoring, reduce FDir reconfiguration overhead, and eliminate potential heavy I/O during scaling. FDispatcher improves packet dispatching throughput by 1.6x~2.8x with a 38x driver efficiency and costs no more than 2 ms for load balancing during scaling.","PeriodicalId":268378,"journal":{"name":"2021 3rd International Conference on Advances in Computer Technology, Information Science and Communication (CTISC)","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Conference on Advances in Computer Technology, Information Science and Communication (CTISC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CTISC52352.2021.00036","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Packet dispatching forwards arrival traffic from the network interface card (NIC) to the virtual network functions (VNFs) in each server in network function vir-tualization (NFV) platforms and has been recognized as a fundamental problem. Traditionally, the dispatching has been CPU-intensive, while existing offloading approaches rely on expensive software-defined network (SDN) switches or Smart-NICs. Our paper proposes FDispatcher, an NFV framework that leverages the Flow Director (FDir) feature on the inexpensive off-the-shelf NICs, to bind flows with destination VNFs for CPU-bypassed packet dispatching. However, the number of bindings that FDir supports is far less than the flow concurrency that an NFV middlebox handles. We divide packet dispatching into FDir-assisted fast path and software-based slow path, and then enable fast-path flows monitoring, reduce FDir reconfiguration overhead, and eliminate potential heavy I/O during scaling. FDispatcher improves packet dispatching throughput by 1.6x~2.8x with a 38x driver efficiency and costs no more than 2 ms for load balancing during scaling.
在网络功能虚拟化(NFV)平台中,报文调度是将到达的流量从网卡(NIC)转发到每个服务器上的虚拟网络功能(vnf),是一个公认的基本问题。传统上,调度是cpu密集型的,而现有的卸载方法依赖于昂贵的软件定义网络(SDN)交换机或智能网卡。我们的论文提出了FDispatcher,这是一个NFV框架,利用廉价的现成nic上的Flow Director (FDir)特性,将流与目标VNFs绑定,以实现绕过cpu的数据包调度。但是,FDir支持的绑定数量远远少于NFV中间盒处理的流并发性。我们将数据包调度分为FDir辅助的快速路径和基于软件的慢路径,然后启用快速路径流监控,减少FDir重新配置开销,并消除扩展过程中潜在的重I/O。FDispatcher将数据包调度吞吐量提高1.6 ~2.8倍,驱动效率提高38倍,扩展时的负载均衡成本不超过2ms。