Abstract
This paper presents an extension to a software framework designed to evaluate the efficiency of different software and hardware-accelerated virtual switches, each commonly adopted on Linux to provide virtual network connectivity to containers in high-performance scenarios, like in Network Function Virtualization (NFV). We present results from the use of our tools, showing the performance of multiple high-performance networking frameworks on a specific platform, comparing the collected data for various key metrics, namely throughput, latency and scalability, with respect to the required computational power.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
OS containers in Linux achieve isolation employing cgroups and namespaces. With these tools, virtual Ethernet ports assigned to a container will no longer be visible or accessible outside the assigned cgroup/namespace, but it will still be part of the host network stack. In this sense, OS containers do not introduce any overhead when encapsulated applications exchange packets over the virtual network.
- 2.
However, data copies across multiple processes are still required for security reasons, especially when interacting components do not trust each other, like VNFs.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
The Basic Forwarding Sample Application does not implement any switching logic, while Snabb was not compatible with our selected SR-IOV Ethernet controller.
- 10.
This limitation corresponds to the processing power reserved for each worker thread they spawn for software virtual switches, while for SR-IOV devices, it is an intrinsic characteristic of their hardware implementation.
- 11.
- 12.
References
Impressive packet processing performance enables greater workload consolidation. White Paper, Intel (2012). https://media15.connectedsocialmedia.com/intel/06/13251/Intel_DPDK _Packet_Processing_Workload_Consolidation.pdf
Open vSwitch enables SDN and NFV transformation. White Paper, Intel 2015. https://networkbuilders.intel.com/docs/open-vswitch-enables-sdn-and-nfv-transformation-paper.pdf
Ara, G., Abeni, L., Cucinotta, T., Vitucci, C.: On the use of kernel bypass mechanisms for high-performance inter-container communications. In: Weiland, M., Juckeland, G., Alam, S., Jagode, H. (eds.) ISC High Performance 2019. LNCS, vol. 11887, pp. 1–12. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-34356-9_1
Ara, G., Cucinotta, T., Abeni, L., Vitucci, C.: Comparative evaluation of kernel bypass mechanisms for high-performance inter-container communications. In: Proceedings of the 10th International Conference on Cloud Computing and Services Science. SCITEPRESS - Science and Technology Publications (2020)
Barach, D., Linguaglossa, L., Marion, D., Pfister, P., Pontarelli, S., Rossi, D.: High-speed software data plane via vectorized packet processing. IEEE Commun. Mag. 56(12), 97–103 (2018)
Barbette, T., Soldani, C., Mathy, L.: Fast userspace packet processing. In: Proceedings of the Eleventh ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2015, USA, pp. 5–16 (2015)
Barik, R.K., Lenka, R.K., Rao, K.R., Ghose, D.: Performance analysis of virtual machines and containers in cloud computing. In: 2016 International Conference on Computing, Communication and Automation (ICCCA). IEEE, April 2016
Dong, Y., Yang, X., Li, J., Liao, G., Tian, K., Guan, H.: High performance network virtualization with SR-IOV. J. Parallel Distrib. Comput. 72(11), 1471–1480 (2012)
Felter, W., Ferreira, A., Rajamony, R., Rubio, J.: An updated performance comparison of virtual machines and Linux containers. In: IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), March 2015
Gallenmüller, S., Emmerich, P., Wohlfart, F., Raumer, D., Carle, G.: Comparison of frameworks for high-performance packet IO. In: ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS), May 2015
Géhberger, D., Balla, D., Maliosz, M., Simon, C.: Performance evaluation of low latency communication alternatives in a containerized cloud environment. In: IEEE 11th International Conference on Cloud Computing (CLOUD), July 2018
Han, S., Jang, K., Panda, A., Palkar, S., Han, D., Ratnasamy, S.: SoftNIC: A software NIC to augment hardware. Technical Report UCB/EECS-2015-155, EECS Department, University of California, Berkeley, May 2015
Jeong, E., et al.: mTCP: a highly scalable user-level TCP stack for multicore systems. In: 11th USENIX Symposium on Networked Systems Design and Implementation, pp. 489–502 (2014)
Lettieri, G., Maffione, V., Rizzo, L.: A survey of fast packet I/O technologies for network function virtualization. In: Kunkel, J.M., Yokota, R., Taufer, M., Shalf, J. (eds.) ISC High Performance 2017. LNCS, vol. 10524, pp. 579–590. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67630-2_40
Maffione, V., Rizzo, L., Lettieri, G.: Flexible virtual machine networking using netmap passthrough. In: 2016 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN). IEEE, June 2016
Nikaein, N., Marina, M.K., Manickam, S., Dawson, A., Knopp, R., Bonnet, C.: OpenAirInterface. ACM SIGCOMM Comput. Commun. Rev. 44(5), 33–38 (2014)
Paolino, M., Nikolaev, N., Fanguede, J., Raho, D.: SnabbSwitch user space virtual switch benchmark and performance optimization for NFV. In: IEEE Conference on Network Function Virtualization and Software Defined Network, November 2015
Pfaff, B., et al.: The design and implementation of Open vSwitch. In: 12th USENIX Symposium on Networked Systems Design and Implementation, pp. 117–130 (2015)
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 2018 ACM/SPEC International Conference on Performance Engineering - ICPE 2018. ACM Press (2018)
Rizzo, L.: Netmap: A novel framework for fast packet I/O. In: 2012 USENIX Annual Technical Conference (USENIX ATC 12), Boston, MA, pp. 101–112. USENIX Association (2012)
Rizzo, L.: Revisiting network I/O APIs: the Netmap framework. Queue 10(1), 30 (2012)
Rizzo, L., Landi, M.: Netmap: memory mapped access to network devices. ACM SIGCOMM Comput. Commun. Rev. 41(4), 422 (2011)
Rizzo, L., Lettieri, G.: VALE, a switched ethernet for virtual machines. In: Proceedings of the 8th International Conference on Emerging Networking Experiments and Technologies - CoNEXT 2012. ACM Press (2012)
Russell, R., Tsirkin, M.S., Huck, C., Moll, P.: Virtual I/O Device (VIRTIO) Version 1.0. Standard, OASIS Specification Committee (2015)
Salim, J.H., Olsson, R., Kuznetsov, A.: Beyond Softnet. In: Annual Linux Showcase & Conference, vol. 5, pp. 18–18 (2001)
Yasukata, K., Honda, M., Santry, D., Eggert, L.: StackMap: low-latency networking with the OS stack and dedicated NICs. In: USENIX Annual Technical Conference (USENIX ATC 16), Denver, CO, pp. 43–56, June 2016
Acknowledgements
The authors would like to thank professor Giuseppe Lettieri from the University of Pisa for the timely help provided during the integration of Netmap in the framework.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Ara, G., Lai, L., Cucinotta, T., Abeni, L., Vitucci, C. (2021). A Framework for Comparative Evaluation of High-Performance Virtualized Networking Mechanisms. In: Ferguson, D., Pahl, C., Helfert, M. (eds) Cloud Computing and Services Science. CLOSER 2020. Communications in Computer and Information Science, vol 1399. Springer, Cham. https://doi.org/10.1007/978-3-030-72369-9_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-72369-9_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-72368-2
Online ISBN: 978-3-030-72369-9
eBook Packages: Computer ScienceComputer Science (R0)