一种纯软件的设备穿透和共享机制
A Software-only Mechanism for Device Passthrough and Sharing
摘要:
虚拟机中的网络处理元件(也称为网络功能虚拟化(NFV))经常在虚拟化接口处面临CPU瓶颈。即使高度优化的半虚拟设备接口也达不到现代设备的吞吐量要求。直通设备与SR-IOV对多设备虚拟功能(VF)的支持和IOMMU支持一起,通过允许VM绕过虚拟化堆栈直接控制设备分区,在一定程度上缓解了这个问题。但是,设备直通需要高端(昂贵且耗电)硬件,对整合率施加了可扩展性限制,并且不支持在同一主机上的多个VM之间进行高效切换。我们提出了一个paravirtual接口,安全地公开了I/O设备直接到虚拟机内运行的客户操作系统,但允许该设备之间的多个虚拟机和主机安全共享。与最知名的半虚拟化接口相比,我们的半虚拟化接口支持高达2倍的吞吐量,并且在性能上更接近设备透传。但是,与设备直通不同,我们不需要SR-IOV或IOMMU支持,并允许细粒度动态资源分配、显著更高的整合率和无缝VM迁移。我们的安全机制是基于一种新的方法,称为动态二进制操作码减法。
英文摘要:
Network processing elements in virtual machines, also known as Network Function Virtualization (NFV) often face CPU bottlenecks at the virtualization interface. Even highly optimized paravirtual device interfaces fall short of the throughput requirements of modern devices. Passthrough devices, together with SR-IOV support for multiple device virtual functions (VF) and IOMMU support, mitigate this problem somewhat, by allowing a VM to directly control a device partition bypassing the virtualization stack. However, device passthrough requires high-end (expensive and power-hungry) hardware, places scalability limits on consolidation ratios, and does not support efficient switching between multiple VMs on the same host. We present a paravirtual interface that securely exposes an I/O device directly to the guest OS running inside the VM, and yet allows that device to be securely shared among multiple VMs and the host. Compared to the best-known paravirtualization interfaces, our paravirtual interface supports up to 2x higher throughput, and is closer in performance to device passthrough. Unlike device passthrough however, we do not require SR-IOV or IOMMU support, and allow fine-grained dynamic resource allocation, significantly higher consolidation ratios, and seamless VM migration. Our security mechanism is based on a novel approach called dynamic binary opcode subtraction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。