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

FlexBSO:面向数据中心的灵活块存储卸载

FlexBSO: Flexible Block Storage Offload for Datacenters

Vojtech Aschenbrenner, John Shawger, Sadman Sakib

AI总结:

FlexBSO 利用 Bluefield-2 SmartNIC 和 NVIDIA SNAP 实现硬件辅助的块存储卸载,以解决传统 virtio 方案中主机 CPU 开销高、存储栈变更不灵活以及 VM EXIT 导致性能下降的问题。

摘要:

CPU 和内存的高效虚拟化已经标准化并成熟。制造商已添加诸如 Intel VT-x [3] 等能力,以提供高效的虚拟机监控程序(hypervisor)支持。相比之下,块设备的虚拟化及其向主机上虚拟机的呈现可以通过多种方式实现。事实上,超大规模厂商(hyperscalers)开发内部解决方案,以提升其数据中心存储解决方案的性能和成本效率。不幸的是,这些存储解决方案基于专用硬件和软件,并不公开可用。传统解决方案是通过半虚拟化驱动(如 virtio [2])向虚拟机暴露虚拟块设备。由于主机操作系统与客户机操作系统的协作,virtio 提供的性能显著优于真实块设备驱动模拟。随后,IO 请求由主机操作系统通过本地块设备(如 SSD 驱动器)或某种形式的网络分解存储(如 NVMe-oF 或 iSCSI)来完成。传统解决方案存在三个主要问题。1)成本。由于主机操作系统的参与,IO 操作消耗主机 CPU 周期。从应用的角度来看,这些 CPU 周期做的是无用功。2)不灵活。虚拟化存储栈的任何变更都需要主机操作系统和/或客户机操作系统的协作,无法在生产环境中静默完成。3)性能。IO 操作导致反复的 VM EXIT,以在主机 CPU 上完成从非根模式到根模式的转换。这造成过度的 IO 性能影响。我们提出 FlexBSO,一种硬件辅助的解决方案,可解决上述所有问题。我们的原型基于公开可用的 Bluefield-2 SmartNIC,并支持 NVIDIA SNAP,因此可以无障碍部署。

英文摘要:

Efficient virtualization of CPU and memory is standardized and mature. Capabilities such as Intel VT-x [3] have been added by manufacturers for efficient hypervisor support. In contrast, virtualization of a block device and its presentation to the virtual machines on the host can be done in multiple ways. Indeed, hyperscalers develop in-house solutions to improve performance and cost-efficiency of their storage solutions for datacenters. Unfortunately, these storage solutions are based on specialized hardware and software which are not publicly available. The traditional solution is to expose virtual block device to the VM through a paravirtualized driver like virtio [2]. virtio provides significantly better performance than real block device driver emulation because of host OS and guest OS cooperation. The IO requests are then fulfilled by the host OS either with a local block device such as an SSD drive or with some form of disaggregated storage over the network like NVMe-oF or iSCSI. There are three main problems to the traditional solution. 1) Cost. IO operations consume host CPU cycles due to host OS involvement. These CPU cycles are doing useless work from the application point of view. 2) Inflexibility. Any change of the virtualized storage stack requires host OS and/or guest OS cooperation and cannot be done silently in production. 3) Performance. IO operations are causing recurring VM EXITs to do the transition from non-root mode to root mode on the host CPU. This results into excessive IO performance impact. We propose FlexBSO, a hardware-assisted solution, which solves all the mentioned issues. Our prototype is based on the publicly available Bluefield-2 SmartNIC with NVIDIA SNAP support, hence can be deployed without any obstacles.

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

↑