arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01225cs.OS
收藏

SVFF:FPGA加速虚拟化环境中SR-IOV虚拟函数管理的自动化框架

SVFF: An Automated Framework for SR-IOV Virtual Function Management in FPGA Accelerated Virtualized Environments

Stefano Cirici, Michele Paolino, Daniel Raho

AI总结:

本文提出SVFF框架,利用Xilinx QDMA的SR-IOV支持和QEMU中VFIO设备的新颖暂停功能,实现PCIe附加FPGA设备上虚拟函数的自动化管理与透明重新配置,且无性能损失。

摘要:

FPGA加速器设备凭借其可重构性和虚拟化能力,已成为在各行业实现高性能和可扩展解决方案的强大平台。特别是虚拟化提供了诸多好处,包括通过资源隔离和共享提高安全性,而SR-IOV是在FPGA上实现虚拟化的主要解决方案。本文介绍了SR-IOV Virtual Function Framework (SVFF),该方案旨在简化和增强Linux和QEMU/KVM环境中PCIe附加FPGA设备上Virtual Functions (VFs)的管理,解决客户机上缺乏SR-IOV重新配置支持的问题。该框架利用Xilinx Queue-based Direct Memory Access (QDMA)中的SR-IOV支持,自动化VFs到不同Virtual Machines (VMs)的创建、附加、分离和重新配置。在QEMU中为VFIO设备实现了一种新颖的暂停功能,使得在不将VFs从客户机分离的情况下,能够将其从主机分离,从而使已附加VFs的客户机的VFs重新配置变得透明,且没有任何性能损失。所提方案能够自动且无缝地将一组VFs分配给不同VMs,并实时调整配置。得益于暂停功能,它还能在不影响已附加到其他VMs设备的情况下,将额外VFs附加到新VMs。

英文摘要:

FPGA accelerator devices have emerged as a powerful platform for implementing high-performance and scalable solutions in a wide range of industries, leveraging their reconfigurability and virtualization capabilities. Virtualization, in particular, offers several benefits including improved security by resource isolation and sharing, and SR-IOV is the main solution for enabling it on FPGAs. This paper introduces the SR-IOV Virtual Function Framework (SVFF), a solution that aims to simplify and enhance the management of Virtual Functions (VFs) on PCIe-attached FPGA devices in Linux and QEMU/KVM environments, solving the lack of SR-IOV re-configuration support on guests. The framework leverages the SR-IOV support in the Xilinx Queue-based Direct Memory Access (QDMA) to automate the creation, attachment, detachment, and reconfiguration of VFs to different Virtual Machines (VMs). A novel pause functionality for the VFIO device has been implemented in QEMU to enable the detachment of VFs from the host without detaching them from the guest, making reconfiguration of VFs transparent for guests that already have a VF attached to them without any performance loss. The proposed solution offers the ability to automatically and seamlessly assign a set of VFs to different VMs and adjust the configuration on the fly. Thanks to the pause functionality, it also offers the ability to attach additional VFs to new VMs without affecting devices already attached to other VMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑