We use cookies to improve your experience with our site.

服务链自动化部署与测试框架

NfvInsight: A Framework for Automatically Deploying and Benchmarking VNF Chains

  • 摘要: 网络功能虚拟化技术(Network Function Virtualization, NFV)将传统的网络功能(Network Function, NF)的硬件实现转化为软件实现。得益于虚拟化技术和软件定义网络的出现,虚拟网络功能(Virtual Network Function, VNF)得以运行在通用服务器上。软件实现相较于专用硬件设备存在着不可避免的性能差距,而准确定位出造成NFV系统性能低下的原因是具有挑战性的。其难点可以总结为三方面:NFV系统部署繁琐、链的转发路径具有管道效应,以及系统软件栈的复杂性。为了准确定位性能问题,本文提出了自动化测试框架NfvInsight,它主要由三个模块组成:服务链生成、自动化部署,和细粒测试。框架每个模块的设计和实现都具有先进性:1)本文率先地尝试了利用规则库枚举合理的服务链拓扑;2)高度自动化的部署功能可以在一轮测试中减少手动执行多达391条命令;3)框架可收集细粒度且多维度的测试指标,尤其是针对网络栈延迟,仅引入至多2.2%的开销。本文通过测试五个典型的虚拟网络功能及其形成的链,展示了NfvInsight的实用性和易用性。经过对测试结果的分析,本文发现了分别来自于服务链和底层系统的性能瓶颈,并得到结论:在网络功能虚拟化场景下,网络栈的某些实现对数据包在同一台服务器内被多次转发的情况并不适用。本文的优化方法最多可将服务链的端到端带宽提高3倍。

     

    Abstract: With the advent of virtualization techniques and software-defined networking (SDN), network function virtualization (NFV) shifts network functions (NFs) from hardware implementations to software appliances, between which exists a performance gap. How to narrow the gap is an essential issue of current NFV research. However, the cumbersomeness of deployment, the water pipe effect of virtual network function (VNF) chains, and the complexity of the system software stack together make it tough to figure out the cause of low performance in the NFV system. To pinpoint the NFV system performance, we propose NfvInsight, a framework for automatic deployment and benchmarking VNF chains. Our framework tackles the challenges in NFV performance analysis. The framework components include chain graph generation, automatic deployment, and fine granularity measurement. The design and implementation of each component have their advantages. To the best of our knowledge, we make the first attempt to collect rules forming a knowledge base for generating reasonable chain graphs. NfvInsight deploys the generated chain graphs automatically, which frees the network operators from executing at least 391 lines of bash commands for a single test. To diagnose the performance bottleneck, NfvInsight collects metrics from multiple layers of the software stack. Specifically, we collect the network stack latency distribution ingeniously, introducing only less than 2.2% overhead. We showcase the convenience and usability of NfvInsight in finding bottlenecks for both VNF chains and the underlying system. Leveraging our framework, we find several design flaws of the network stack, which are unsuitable for packet forwarding inside one single server under the NFV circumstance. Our optimization for these flaws gains at most 3x performance improvement.

     

/

返回文章
返回