arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.05148cs.ARcs.OS
收藏

基于I/O队列直通的高性能可扩展软件NVMe虚拟化机制

High-performance and Scalable Software-based NVMe Virtualization Mechanism with I/O Queues Passthrough

Yiquan Chen, Zhen Jin, Yijing Wang, Yi Chen, Hao Yu, Jiexiong Xu, Jinlong Chen, Wenhai Lin, Kanghua Fang, Chengkun Wei, Qiang Liu, Yuan Xie, Wenzhi Chen

AI总结:

本文提出LightIOV,一种基于NVMe硬件I/O队列直通的软件虚拟化机制,在不消耗额外CPU资源和无需特殊硬件支持的情况下实现高性能与高可扩展性,性能接近VFIO并优于SPDK-Vhost。

摘要:

NVMe(Non-Volatile Memory Express,非易失性内存高速存储规范)是固态硬盘(SSD)的行业标准,已在数据中心得到广泛应用。NVMe虚拟化在云计算中至关重要,因为它允许虚拟机(VM)使用虚拟化的NVMe设备,从而提高存储资源利用率。然而,传统的基于软件的解决方案虽然具有灵活性优势,但往往以性能下降或高CPU开销为代价。另一方面,硬件辅助解决方案提供高性能和低CPU占用,但其采用往往受限于对特殊硬件支持的需求或对新硬件开发的要求。\n在本文中,我们提出LightIOV,一种新颖的基于软件的NVMe虚拟化机制,在不消耗宝贵CPU资源且不需要特殊硬件支持的情况下实现高性能和可扩展性。LightIOV可以在每台服务器上支持数千个虚拟机。LightIOV背后的关键思想是NVMe硬件I/O队列直通,它使虚拟机能够直接访问NVMe设备的I/O队列,从而消除虚拟化开销并提供接近原生的性能。我们的实验结果表明,LightIOV可以提供与VFIO相当的性能,IOPS达到VFIO的97.6%-100.2%。此外,在高密度虚拟机环境中,LightIOV在运行200个虚拟机时比SPDK-Vhost实现31.4%的延迟降低,并在实际应用中实现27.1%的OPS性能提升。

英文摘要:

NVMe(Non-Volatile Memory Express) is an industry standard for solid-state drives (SSDs) that has been widely adopted in data centers. NVMe virtualization is crucial in cloud computing as it allows for virtualized NVMe devices to be used by virtual machines (VMs), thereby improving the utilization of storage resources. However, traditional software-based solutions have flexibility benefits but often come at the cost of performance degradation or high CPU overhead. On the other hand, hardware-assisted solutions offer high performance and low CPU usage, but their adoption is often limited by the need for special hardware support or the requirement for new hardware development. In this paper, we propose LightIOV, a novel software-based NVMe virtualization mechanism that achieves high performance and scalability without consuming valuable CPU resources and without requiring special hardware support. LightIOV can support thousands of VMs on each server. The key idea behind LightIOV is NVMe hardware I/O queues passthrough, which enables VMs to directly access I/O queues of NVMe devices, thus eliminating virtualization overhead and providing near-native performance. Results from our experiments show that LightIOV can provide comparable performance to VFIO, with an IOPS of 97.6%-100.2% of VFIO. Furthermore, in high-density VMs environments, LightIOV achieves 31.4% lower latency than SPDK-Vhost when running 200 VMs, and an improvement of 27.1% in OPS performance in real-world applications.

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

↑