Michele Paolino, Nikolay Nikolaev, J. Fanguede, D. Raho
{"title":"SnabbSwitch用户空间虚拟交换机NFV基准测试和性能优化","authors":"Michele Paolino, Nikolay Nikolaev, J. Fanguede, D. Raho","doi":"10.1109/NFV-SDN.2015.7387411","DOIUrl":null,"url":null,"abstract":"New paradigms in networking industry, such as Software Defined Networking (SDN) and Network Functions Virtualization (NFV), require the hypervisors to enable the execution of Virtual Network Functions in virtual machines (VMs). In this context, the virtual switch function is critical to achieve carrier grade performance, hardware independence, advanced features and programmability. SnabbSwitch is a virtual switch designed to run in user space with carrier grade performance targets, based on an efficient architecture which has driven the development of vhost-user (now also adopted by OVS-DPDK, the user space implementation of OVS based on Intel DPDK), easy to deploy and to program through its Lua scripting layer. This paper presents the SnabbSwitch virtual switch implementation along with its novelties (the vhost-user implementation and the usage of a trace compiler) and code optimizations, which have been merged in the mainline project repository. Extensive benchmarking activities, whose results are included in this paper, have been carried on to compare SnabbSwitch with other virtual switching solutions (i.e., OVS, OVS-DPDK, Linux Bridge, VFIO and SR-IOV). These results show that SnabbSwitch performs as well as hardware based solutions, such as SR-IOV and VFIO, while allowing for additional functional and flexible operation; they show also that SnabbSwitch is faster than the vhost-user based version (user space) of OVS-DPDK.","PeriodicalId":315251,"journal":{"name":"2015 IEEE Conference on Network Function Virtualization and Software Defined Network (NFV-SDN)","volume":"87 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"44","resultStr":"{\"title\":\"SnabbSwitch user space virtual switch benchmark and performance optimization for NFV\",\"authors\":\"Michele Paolino, Nikolay Nikolaev, J. Fanguede, D. Raho\",\"doi\":\"10.1109/NFV-SDN.2015.7387411\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"New paradigms in networking industry, such as Software Defined Networking (SDN) and Network Functions Virtualization (NFV), require the hypervisors to enable the execution of Virtual Network Functions in virtual machines (VMs). In this context, the virtual switch function is critical to achieve carrier grade performance, hardware independence, advanced features and programmability. SnabbSwitch is a virtual switch designed to run in user space with carrier grade performance targets, based on an efficient architecture which has driven the development of vhost-user (now also adopted by OVS-DPDK, the user space implementation of OVS based on Intel DPDK), easy to deploy and to program through its Lua scripting layer. This paper presents the SnabbSwitch virtual switch implementation along with its novelties (the vhost-user implementation and the usage of a trace compiler) and code optimizations, which have been merged in the mainline project repository. Extensive benchmarking activities, whose results are included in this paper, have been carried on to compare SnabbSwitch with other virtual switching solutions (i.e., OVS, OVS-DPDK, Linux Bridge, VFIO and SR-IOV). These results show that SnabbSwitch performs as well as hardware based solutions, such as SR-IOV and VFIO, while allowing for additional functional and flexible operation; they show also that SnabbSwitch is faster than the vhost-user based version (user space) of OVS-DPDK.\",\"PeriodicalId\":315251,\"journal\":{\"name\":\"2015 IEEE Conference on Network Function Virtualization and Software Defined Network (NFV-SDN)\",\"volume\":\"87 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"44\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 IEEE Conference on Network Function Virtualization and Software Defined Network (NFV-SDN)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/NFV-SDN.2015.7387411\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 IEEE Conference on Network Function Virtualization and Software Defined Network (NFV-SDN)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NFV-SDN.2015.7387411","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 44
摘要
软件定义网络(SDN)和网络功能虚拟化(NFV)等网络行业的新范式要求管理程序能够在虚拟机(vm)中执行虚拟网络功能。在这种情况下,虚拟交换机功能对于实现电信级性能、硬件独立性、高级特性和可编程性至关重要。SnabbSwitch是一款运行在用户空间的虚拟交换机,具有运营商级的性能目标,基于驱动vhost-user开发的高效架构(现在也被OVS-DPDK采用,OVS的用户空间实现基于英特尔DPDK),易于部署和通过Lua脚本层编程。本文介绍了SnabbSwitch虚拟交换机实现及其新奇之处(vhost-user实现和跟踪编译器的使用)和代码优化,它们已合并到主线项目存储库中。广泛的基准测试活动,其结果包含在本文中,已经进行了SnabbSwitch与其他虚拟交换解决方案(即OVS, OVS- dpdk, Linux Bridge, VFIO和SR-IOV)的比较。这些结果表明,SnabbSwitch的性能优于基于硬件的解决方案,如SR-IOV和VFIO,同时允许额外的功能和灵活的操作;它们还表明,SnabbSwitch比基于vhost-user的OVS-DPDK版本(用户空间)更快。
SnabbSwitch user space virtual switch benchmark and performance optimization for NFV
New paradigms in networking industry, such as Software Defined Networking (SDN) and Network Functions Virtualization (NFV), require the hypervisors to enable the execution of Virtual Network Functions in virtual machines (VMs). In this context, the virtual switch function is critical to achieve carrier grade performance, hardware independence, advanced features and programmability. SnabbSwitch is a virtual switch designed to run in user space with carrier grade performance targets, based on an efficient architecture which has driven the development of vhost-user (now also adopted by OVS-DPDK, the user space implementation of OVS based on Intel DPDK), easy to deploy and to program through its Lua scripting layer. This paper presents the SnabbSwitch virtual switch implementation along with its novelties (the vhost-user implementation and the usage of a trace compiler) and code optimizations, which have been merged in the mainline project repository. Extensive benchmarking activities, whose results are included in this paper, have been carried on to compare SnabbSwitch with other virtual switching solutions (i.e., OVS, OVS-DPDK, Linux Bridge, VFIO and SR-IOV). These results show that SnabbSwitch performs as well as hardware based solutions, such as SR-IOV and VFIO, while allowing for additional functional and flexible operation; they show also that SnabbSwitch is faster than the vhost-user based version (user space) of OVS-DPDK.