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

Stefano Cirici, Michele Paolino, Daniel Raho
{"title":"SVFF:FPGA 加速虚拟化环境中 SR-IOV 虚拟功能管理的自动化框架","authors":"Stefano Cirici, Michele Paolino, Daniel Raho","doi":"arxiv-2406.01225","DOIUrl":null,"url":null,"abstract":"FPGA accelerator devices have emerged as a powerful platform for implementing\nhigh-performance and scalable solutions in a wide range of industries,\nleveraging their reconfigurability and virtualization capabilities.\nVirtualization, in particular, offers several benefits including improved\nsecurity by resource isolation and sharing, and SR-IOV is the main solution for\nenabling it on FPGAs. This paper introduces the SR-IOV Virtual Function Framework (SVFF), a\nsolution that aims to simplify and enhance the management of Virtual Functions\n(VFs) on PCIe-attached FPGA devices in Linux and QEMU/KVM environments, solving\nthe lack of SR-IOV re-configuration support on guests. The framework leverages\nthe SR-IOV support in the Xilinx Queue-based Direct Memory Access (QDMA) to\nautomate the creation, attachment, detachment, and reconfiguration of VFs to\ndifferent Virtual Machines (VMs). A novel pause functionality for the VFIO\ndevice has been implemented in QEMU to enable the detachment of VFs from the\nhost without detaching them from the guest, making reconfiguration of VFs\ntransparent for guests that already have a VF attached to them without any\nperformance loss. The proposed solution offers the ability to automatically and\nseamlessly assign a set of VFs to different VMs and adjust the configuration on\nthe fly. Thanks to the pause functionality, it also offers the ability to\nattach additional VFs to new VMs without affecting devices already attached to\nother VMs.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"28 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"SVFF: An Automated Framework for SR-IOV Virtual Function Management in FPGA Accelerated Virtualized Environments\",\"authors\":\"Stefano Cirici, Michele Paolino, Daniel Raho\",\"doi\":\"arxiv-2406.01225\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"FPGA accelerator devices have emerged as a powerful platform for implementing\\nhigh-performance and scalable solutions in a wide range of industries,\\nleveraging their reconfigurability and virtualization capabilities.\\nVirtualization, in particular, offers several benefits including improved\\nsecurity by resource isolation and sharing, and SR-IOV is the main solution for\\nenabling it on FPGAs. This paper introduces the SR-IOV Virtual Function Framework (SVFF), a\\nsolution that aims to simplify and enhance the management of Virtual Functions\\n(VFs) on PCIe-attached FPGA devices in Linux and QEMU/KVM environments, solving\\nthe lack of SR-IOV re-configuration support on guests. The framework leverages\\nthe SR-IOV support in the Xilinx Queue-based Direct Memory Access (QDMA) to\\nautomate the creation, attachment, detachment, and reconfiguration of VFs to\\ndifferent Virtual Machines (VMs). A novel pause functionality for the VFIO\\ndevice has been implemented in QEMU to enable the detachment of VFs from the\\nhost without detaching them from the guest, making reconfiguration of VFs\\ntransparent for guests that already have a VF attached to them without any\\nperformance loss. The proposed solution offers the ability to automatically and\\nseamlessly assign a set of VFs to different VMs and adjust the configuration on\\nthe fly. Thanks to the pause functionality, it also offers the ability to\\nattach additional VFs to new VMs without affecting devices already attached to\\nother VMs.\",\"PeriodicalId\":501333,\"journal\":{\"name\":\"arXiv - CS - Operating Systems\",\"volume\":\"28 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Operating Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2406.01225\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.01225","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

FPGA加速器设备已成为各行各业实施高性能和可扩展解决方案的强大平台,可充分利用其可重构性和虚拟化功能。虚拟化尤其具有多种优势,包括通过资源隔离和共享提高安全性,而SR-IOV是在FPGA上实现虚拟化的主要解决方案。本文介绍了 SR-IOV 虚拟功能框架(SVFF),该解决方案旨在简化和增强 Linux 和 QEMU/KVM 环境中 PCIe 附加 FPGA 设备上虚拟功能(VFs)的管理,解决客户机缺乏 SR-IOV 重新配置支持的问题。该框架利用赛灵思基于队列的直接内存访问(QDMA)中的 SR-IOV 支持,将 VF 的创建、连接、分离和重新配置自动化为不同的虚拟机(VM)。在 QEMU 中为 VFIO 设备实现了一种新颖的暂停功能,可在不从客户机分离 VF 的情况下从主机分离 VF,从而使 VF 的重新配置对已连接 VF 的客户机透明,且不会造成任何性能损失。所提出的解决方案能够自动、无缝地将一组虚拟机分配给不同的虚拟机,并即时调整配置。由于具有暂停功能,它还能为新虚拟机附加额外的 VF,而不会影响已附加到其他虚拟机上的设备。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
SVFF: An Automated Framework for SR-IOV Virtual Function Management in FPGA Accelerated Virtualized Environments
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信