Software Physical/Virtual Rx Queue Mapping Toward High-Performance Containerized Networking

Software Physical/Virtual Rx Queue Mapping Toward High-Performance Containerized Networking
复制标题

软件物理/虚拟 Rx 队列映射到高性能容器化网络

DOI:
--
复制
发表时间:
2021
影响因子:
5.3
通讯作者:
Ryota Kawashima
Ryota Kawashima
中科院分区:
计算机科学2区
文献类型:
--
作者:
Ryota Kawashima

文献摘要

被引文献

相似文献

网络功能(NF)的软件化加速了下一代网络上服务的自动化部署和管理。灵活性和高性能的结合是网络功能虚拟化 (NFV) 的重要要求;然而,许多研究表明,NF的容器化或虚拟化严重降低了数据包转发的根本效率。虚拟网络 I/O 是来宾和主机之间数据包传输的机制,已被视为 PVP(物理-虚拟-物理)数据路径中的性能瓶颈,而造成这种恶化的主要原因之一是它们之间的数据包复制。人们已经研究了各种技术,例如零复制、直通和硬件卸载,以减轻性能开销。然而,现有的设计和实现会带来实用性问题,例如兼容性、可管理性和性能质量不足。我们提出了另一种零复制/直通加速的设计和实现(称为IOVTee)来解决现实问题并提高转发效率。 IOVTee 利用虚拟交换机的预处理,在接收 (Rx) 路径上实现零复制。 vhost-user(事实上的虚拟网络 I/O)的 IOVTee 的可插拔风格使我们的方法对容器/VM 和虚拟交换机都是透明的。在本文中,我们将解释 IOVTee 的核心,这是一种完全基于软件的 Rx 队列映射机制(物理和虚拟之间),支持虚拟 DMA 直写(到 NF)的概念。我们的评估结果表明,将 IOVTee 应用于 vhost-user 极大地提高了 PVP 数据路径中数据包转发的效率(对于 64 字节和 1514 字节数据包的流量分别提高了 45% 和 98%)。
Softwarization of Network Functions (NFs) accelerates automated deployment and management of services on next-gen networks. Combining flexibility and high-performance is a vital requirement for Network Functions Virtualisation (NFV); however, many studies have demonstrated that containerization or virtualization of NFs severely degrades the fundamental efficiency of packet forwarding. Virtual network I/O, a mechanism of packet transferring between a guest and the host, has been seen as the performance bottleneck in the PVP (Physical-Virtual-Physical) datapath, and one of the main causes of this deterioration is packet copy between them. Various techniques, such as zero-copy, pass-through, and hardware offloading, have been examined to alleviate the performance overhead. However, existing designs and implementations incur pragmatic issues, such as compatibility, manageability, and insufficient quality of performance. We propose yet another design and implementation of zero-copy/pass-through acceleration (named IOVTee) to resolve real-world problems as well as to enhance the forwarding efficiency. IOVTee takes advantage of pre-processing of virtual switches with achieving zero-copy on the receive (Rx) path. The pluggable style of IOVTee for vhost-user (the de-facto virtual network I/O) enables our approach to be transparent to both containers/VMs and virtual switches. In this article, we explain the heart of IOVTee, a fully software-based Rx queue mapping mechanism (between physical and virtual) that enables a concept of Virtual DMA Write-through (to the NF). Our evaluation results showed that applying IOVTee to vhost-user drastically increased efficiency of packet forwarding in the PVP datapath (by 45% and 98% for traffic of 64-byte and 1514-byte packets respectively).