VNF Chaining Performance Characterization under Multi-Feature and Oversubscription Using SR-IOV
Abstract
:1. Introduction
- We perform a horizontal-scale analysis, where multiple VNFs (chained and non-chained) are contenting for the server’s hardware resources by placing I/O and vCPUs demands on the hypervisor scheduler.
- We assess the performance of multi-feature VMs. In such an environment, multiple network features (e.g., FW, NAT, etc.) are activated in the same VM, thus stressing the performance and resource consumption in a different way to single-feature VM tests.
- We study the impact of running multiple chained and not-chained VNFs (up to 40 VMs) by oversubscribing the x86 server by a factor of 4 (e.g., generate a demand of 80 virtual CPU cores in a server with an available capacity of 20 physical CPU cores).
- We use a commercially available VNF software (Cisco Cloud Services Router 1000V (CSR 1000v) [4]) in order to give extra credibility in our results.
2. Related Work
3. System Model
3.1. SR-IOV
3.2. VNF Deployment
- Single-Feature: In case a single feature deployment is followed, within each VM a single type of network feature can be found. This is the simplest way to deploy VNFs. However, when a SFC needs to be instantiated each VNF needs to be deployed in a separate VM. This means that a logical network will also be created connecting the different VMs. An illustrative example of this deployment model is shown in Figure 3. Herein, we have 4 VNFs, namely a DPI followed by a FW and a QoS, while terminating at a NAT. The chaining of the VNFs can be done internally in the server (i.e., DPI → FW and QoS → NAT), or between two or more servers (i.e., FW → QoS).
- Multi-Feature: In a multi-feature deployment, within each VM multiple network features can be executed as software processes. This creates a certain complexity in the operation of the VM, but if all the VNFs of the SFC can be deployed on the same VM, we can avoid creating chains or logical networks between the VNFs. Figure 4 shows the same 4 VNFs as previously; however, now with a multi-feature deployment all the VNFs can be deployed in a single VM.
3.3. Chaining
3.3.1. PVP
3.3.2. PVVP
- Virtual Ethernet Bridge (VEB): VEB is entirely made on the server by creating an internal bridge between the two VMs hosting the VNFs. Examples of this bridge can be on OVS bridge, a linux bridge, or a virtual network provided by the hypervisor.
- Virtual Ethernet Port Aggregator (VEPA): In VEPA the chaining is accomplished by using the ToR switch. Specifically, the traffic after being processed by the first VNF it is returned to the ToR switch, where it is following forwarded to the second VNF. This approach is similar to creating two PVP chains on the same server.
3.4. Resource Allocation and Oversubscription
3.4.1. Resource Configuration
3.4.2. CPU Allocation
- Undersubscription: For an undersubscibed system we instantiate 10 VMs each configured with 2 virtual CPUs (vCPUs), bringing a total of 20 vCPUs. Each vCPU is pinned to a single physical Core (pCPU) occupying one of the two available logical threads. This CPU allocation configuration is depicted in Figure 7. The CPU cores of a socket and their respective memory caches are build into a Non-Uniform Memory Access (NUMA) nodes. From the first NUMA node we reserve 3 pCPUs (pCPUs0-3) and from the second Node we reserve pCPU12. In the particular configuration, we allocate only one lCPU from each pCPU to ensure the necessary CPU isolation between the VMs. Hence, VM1 is pinned to lCPU6 from pCPU3 and lCPU8 from pCPU4, the two vCPUs of VM2 are allocated to lCPU10 from pCPU5 and lCPU12 from PCPU6, and so on.
- 2:1 Oversubscription: For the first type of oversubscription examined, we use all available lCPUs. Thus, we instantiate 20 VMs, creating a total demand of 40 vCPUs over 20 pCPUs (ratio 2:1). Figure 8, illustrates this type of CPU oversubscription. In the particular configuration, the two vCPUs of each VM are allocated on the two logical cores of each pCPU. For example, VM1 is pinned to lCPU6 and lCPU7 of pCPU3, VM2 is pinned to lCPU8 and lCPU9 of pCPU4, etc.
- 4:1 Oversubscription: to stress even more the available CPU capacity, as a second scenario we oversubcribe our system with a ratio of 4:1. Specifically, we instantiate 40 VMs generating a total demand of 80 vCPUs over 20 pCPUs. Figure 9, illustrate the CPU allocation in a 4:1 oversubscribed system. As we can see, two VMs are now allocated on the same pCPU sharing both of its lCPUs. For instance VM1 and VM21 are pinned to lCPU6 and lCPU7 of pCPU3, VM2 and VM22 are allocated to lCPU8 and lCPU9 of pCPU4, and so on.
3.5. Performance Impact of System Configuration
4. Performance Evaluation
4.1. PVP Configuration
4.1.1. Single-Feature Results
4.1.2. Multi-Feature Results
4.2. PVVP Configuration
4.2.1. Single-Feature Results
4.2.2. Multi-Feature Results
4.3. Results Discussion
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
Abbreviations
NFV | Network Function Virtualization |
VNF | Virtualized Network Function |
COTS | Custom off the shelf |
VM | Virtual Machine |
SFC | Service Function Chain |
KPI | Key Performance Indicator |
FPGA | Field Programmable Gate Arrays |
IPSec | Internet Protocol Security |
IDS | Intrusion Detection System |
FW | Firewall |
NAT | Network Address Translation |
I/O | Input/Output |
QoS | Quality of Service |
DPI | Deep Packet Inspection |
IMS | IP Multimedia Subsystem |
IDS | Intrusion Detection System |
NIC | Network Interface Card |
OVS | Open vSwitch |
DPDK | Data Plane Development Kit |
FD.io VPP | Fast Data Input/Output Vector Packet Processing |
NAPI | Linux New API |
PA-Flow | Packet Aggregation Flow |
pNIC | physical NIC |
vNIC | virtual NIC |
PF | Physical Function |
VF | Virtual Function |
PVP | Physical-to-VM-to-Physical |
PVVP | Physical-to-VM-to-VM-to-Physical |
VEB | Virtual Ethernet Bridge |
VEPA | Virtual Ethernet Port Aggregator |
pCPU | physical CPU |
vCPU | virtual CPU |
lCPU | logical CPU |
DUT | Device Under Test |
CEF | Cisco Express Forwarding |
References
- Chiosi, M.; Larke, D.; Feger, J.; Bugenhagen, M.; Khan, W.; Fargano, M.; Chen, C.; Huang, J.; Benitez, J.; Michel, U.; et al. Network Function Virtualization: An Introduction, Benefits, Enablers, Challenges & Call for Action. In Proceedings of the SDN and OpenFlow World Congress, Darmstadt, Germany, 22–24 October 2012. [Google Scholar]
- Service Function Chaining (SFC) Architecture. Available online: https://tools.ietf.org/html/rfc7665 (accessed on 19 October 2015).
- Intel Corporation. Pci-Sig SR-IOV Primer: An Introduction to SR-IOV Technology. Available online: http://www.intel.com/content/www/us/en/pci-express/pci-sig-sr-iov-primer-sr-iov-technology-paper.html (accessed on 13 September 2010).
- Cisco, Cisco Cloud Services Router 1000v Series. Available online: http://www.cisco.com/c/en/us/products/routers/cloud-services-router-1000v-series/index.html (accessed on 13 September 2020).
- Forconesi, M.; Sutter, G.; Lopez-Buedo, S.; de Vergara, J.E.L.; Aracil, J. Bridging the gap between hardware and software open-source network developments. IEEE Netw. 2014, 28, 13–19. [Google Scholar] [CrossRef]
- Kachris, C.; Sirakoulis, G.; Soudris, D. Network Function Virtualization based on FPGAs:A Framework for all-Programmable network devices. arXiv 2014, arXiv:1406.0309. [Google Scholar]
- Falkner, M.; Leivadeas, A.; Lambadaris, I.; Kesidis, G. Performance analysis of virtualized network functions on virtualized system architectures. In Proceedings of the 2016 IEEE 21st International Workshop on Computer Aided Modelling and Design of Communication Links and Networks (CAMAD), Toronto, ON, Canada, 23–25 October 2016; pp. 71–76. [Google Scholar]
- Pitaev, N.; Falkner, M.; Leivadeas, A.; Lambadaris, I. Multi-VNF performance characterization for virtualized network functions. In Proceedings of the 2017 IEEE Conference on Network Softwarization (NetSoft), Bologna, Italy, 3–7 July 2017; pp. 1–5. [Google Scholar]
- Pitaev, N.; Falkner, M.; Leivadeas, A.; Lambadaris, I. Characterizing the performance of concurrent virtualized network functions with OVS-DPDK, FD.io VPP, and SR-IOV. In Proceedings of the ACM International Conference on Performance Engineering (ICPE), Berlin, Germany, 9–13 August 2018; pp. 285–292. [Google Scholar]
- Cao, L.; Sharma, P.; Fahmy, S.; Saxena, V. NFV-VITAL: A Framework for Characterizing the Performance of Virtual Network Functions. In Proceedings of the IEEE International Conference on Network Function Virtualization and Software Defined Network (NFV-SDN), San Francisco, CA, USA, 18–21 November 2015; pp. 93–99. [Google Scholar]
- Paolino, M.; Nikolaev, N.; Fanguede, J.; Raho, D. Snabbswitch user space virtual switch benchmark and performance optimization for NFV. In Proceedings of the IEEE Conference on Network Function Virtualization and Software Defined Networking (NFV-SDN), San Francisco, CA, USA, 18–21 November 2015; pp. 86–92. [Google Scholar]
- Dong, Y.; Yang, X.; Li, X.; Li, J.; Tian, K.; Guan, H. High performance network virtualization with SR-IOV. In Proceedings of the IEEE International Symposium on High Performance Computer Architecture (HPCA), Bangalore, India, 9–14 January 2010; pp. 1–10. [Google Scholar]
- Huang, Z.; Ma, R.; Li, J.; Chang, Z.; Guan, H. Adaptive and scalable optimizations for high performance SR-IOV. In Proceedings of the 2012 IEEE International Conference on Cluster Computing, Beijing, China, 24–28 September 2012; pp. 459–467. [Google Scholar]
- Taguchi, Y.; Kawashima, R.; Nakayama, H.; Hayashi, T.; Matsuo, H. PA-Flow: Gradual Packet Aggration at VIrtual Network I/O for Efficient Service Chaining. In Proceedings of the IEEE International Conference on Cloud Computing Technology and Science (CloudCom), Hong Kong, China, 11–14 December 2018; pp. 335–340. [Google Scholar]
- Kawashima, R.; Nakayama, H.; Hayashi, T.; Matsuo, H. Evaluation of Forwarding Efficiency in NFV-Nodes Toward Predictable Service Chain Performance. IEEE Trans. Netw. Serv. Manag. 2017, 14, 920–933. [Google Scholar] [CrossRef]
- Validating Cisco’s NFV Infrastructure Part 1. Available online: http://www.lightreading.com/nfv/nfv-tests-and-trials/validating-ciscos-nfv-infrastructure-pt-1/d/d-id/718684 (accessed on 13 September 2020).
- Validating Cisco’s NFV Infrastructure Part 2. Available online: http://www.lightreading.com/nfv/nfv-tests-and-trials/validating-ciscos-nfv-infrastructure-pt-2/d/d-id/718898 (accessed on 13 September 2020).
- Emmerich, P.; Raumer, D.; Wohlfart, F.; Carle, G. Performance characteristics of virtual switching. In Proceedings of the 2014 IEEE 3rd International Conference on Cloud Networking (CloudNet), Luxembourg, 8–10 October 2014; pp. 120–125. [Google Scholar]
- Emmerich, P.; Raumer, D.; Wohlfart, F.; Carle, G. Assessing soft- and hardware bottlenecks in pc-based packet forwarding systems. In Proceedings of the Intertional Conference on Networks (ICN), Anaheim, CA, USA, 16–19 February 2015; pp. 78–83. [Google Scholar]
- Bonafiglia, R.; Cerrato, I.; Ciaccia, F.; Nemirovsky, M.; Risso, F. Assessing the performance of virtualization technologies for NFV: A preliminary benchmarking. In Proceedings of the IEEE European Workshop on Software Defined Networks (EWSDN), Bilbao, Spain, 30 September–2 October 2015; pp. 67–72. [Google Scholar]
- Zhang, W.; Liu, G.; Zhang, W.; Shah, N.; Lopreiato, P.; Todeschi, G.; Ramakrishnan, K.; Wood, T. OpenNetVM: A platform for high performance network service chains. In Proceedings of the ACM Conference on Hot Topics in Middeboxes and NFV (HotMIddlebox), New York, NY, USA, 26 August 2016; pp. 26–31. [Google Scholar]
- Paolino, M.; Fanguede, J.; Nikolaev, N.; Raho, D. Turning an open source project into a carrier grade vswitch for NFC: Vosyswitch challenges & results. In Proceedings of the IEEE International Conference on Network Infrastructure and Digital Content (NIDC), Beijing, China, 23–25 September 2016; pp. 22–27. [Google Scholar]
- SR-IOV for NFV Solutions Practical Considerations and Thoughts. Available online: https://www.intel.com/content/dam/www/public/us/en/documents/technology-briefs/sr-iov-nfv-tech-brief.pdf (accessed on 13 September 2020).
- Leivadeas, A.; Falkner, M.; Pitaev, N. Analyzing Service Chaining of Virtualized Network Functions with SR-IOV. In Proceedings of the IEEE International Conference on High Performance Switching and Routing, Newark, NJ, USA, 11–14 May 2020; pp. 1–7. [Google Scholar]
- Wang, C.; Spatscheck, O.; Gopalakrishnan, V.; Xu, Y.; Applegate, D. Toward High-Performance and Scalable Network Functions Virtualization. IEEE Int. Comput. 2016, 20, 10–20. [Google Scholar] [CrossRef]
- Peripheral Component Interconnect Special Interest Group PCI-CIG. Available online: https://pcisig.com/ (accessed on 13 September 2020).
- NIC Drivers DPDK, I40E/IXGBE/IGB Virtual Function Driver. Available online: https://doc.dpdk.org/guides-16.04/nics/intel_vf.html (accessed on 13 September 2020).
- Leivadeas, A.; Falkner, M.; Lambadaris, I.; Kesidis, G. Optimal Virtualized Network Function Allocation for an SDN enabled Cloud. Elsevier Comput. Stand. Interfaces 2017, 54, 266–278. [Google Scholar] [CrossRef]
- Debian, Why Huge Pages? Available online: https://wiki.debian.org/Hugepages (accessed on 13 September 2020).
- Leivadeas, A.; Kesidis, G.; Falkner, M.; Lambadaris, I. A graph partitioning game theoretical approach for the VNF service chaining problem. IEEE Trans. Netw. Serv. Manag. 2017, 14, 890–903. [Google Scholar] [CrossRef]
- NFVbench. Available online: https://wiki.opnfv.org/display/nfvbench/NFVbench (accessed on 13 September 2020).
- Bradner, S.; McQuaid, J. Benchmarking Methodology for Network Interconnect Devices. IETF Technical Report. 1999. Available online: https://www.ietf.org/rfc/rfc2544.txt (accessed on 13 September 2020).
- Leivadeas, A.; Falkner, M.; Lambadaris, I.; Ibnkahla, M.; Kesidis, G. Balancing delay and cost in virtual network function placement and chaining. In Proceedings of the IEEE International Conference on Network Softwarization and Workshops (NetSoft), Montreal, QC, Canada, 25–29 June 2018; pp. 433–440. [Google Scholar]
Test Component | Description |
---|---|
x86 Host | PowerEdge R740 Server: 2 sockets Intel Xeon Gold 5118 2.3 GHz with 12 CPU cores each, |
192 GB RAM, and 2 TB SSD SATA storage | |
Phys. Interfaces | 1 NIC with 2 x 10GE ports; Intel X520-DA2 NIC |
Hypervisor | Linux kernel 4.15.0-58; Libvirt 4.0.0; QEMU 2.11.1 |
Switch | Cisco Catalyst WS-C3850-12X48U-L |
Traffic Generator | NFVBench version 3.5.1 |
VNFs | Cisco CSR 1000V® virtual Router, IOS XE version 16.06.02; 2 vCPUs, 4GB RAM |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ben Hamed, A.; Leivadeas, A.; Falkner, M.; Pitaev, N. VNF Chaining Performance Characterization under Multi-Feature and Oversubscription Using SR-IOV. Informatics 2020, 7, 33. https://doi.org/10.3390/informatics7030033
Ben Hamed A, Leivadeas A, Falkner M, Pitaev N. VNF Chaining Performance Characterization under Multi-Feature and Oversubscription Using SR-IOV. Informatics. 2020; 7(3):33. https://doi.org/10.3390/informatics7030033
Chicago/Turabian StyleBen Hamed, Asma, Aris Leivadeas, Matthias Falkner, and Nikolai Pitaev. 2020. "VNF Chaining Performance Characterization under Multi-Feature and Oversubscription Using SR-IOV" Informatics 7, no. 3: 33. https://doi.org/10.3390/informatics7030033
APA StyleBen Hamed, A., Leivadeas, A., Falkner, M., & Pitaev, N. (2020). VNF Chaining Performance Characterization under Multi-Feature and Oversubscription Using SR-IOV. Informatics, 7(3), 33. https://doi.org/10.3390/informatics7030033