arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.03360cs.CR

Bridge the Future: 无需可信I/O设备的机密虚拟机高性能网络

Bridge the Future: High-Performance Networks in Confidential VMs without Trusted I/O devices

Mengyuan Li, Shashvat Srivastava, Mengjia Yan

AI总结:

针对可信I/O(TIO)对机密虚拟机网络I/O增益有限、扩大可信计算基且无商用的问题,提出基于DPDK扩展、兼容AMD SEV-SNP的软件方案FOLIO,性能接近最优TIO配置且仅用现成CPU。

摘要:

可信I/O(TIO)是提升机密虚拟机(CVMs)I/O性能的一种颇具吸引力的方案,有望消除多种I/O开销来源。然而本文强调,并非所有类型的I/O都能从TIO中获得显著收益,尤其是网络I/O。由于在CVM的威胁模型中,网络流量必须使用加密协议,因此TIO在PCIe总线上进行I/O加密的方式变得冗余。此外,TIO方案需要扩大可信计算基(TCB)以包含TIO设备,且目前尚无商用产品。\n受这些洞见启发,本文的目标是提出一种软件方案,帮助CVM立即从高性能网络中获益,同时将信任范围仅限定在片上CVM内。我们提出了FOLIO,这是一种基于安全高效的Data Plane Development Kit(DPDK,数据平面开发套件)扩展构建的软件方案,兼容最新版本的AMD Secure Encrypted Virtualization(SEV,安全加密虚拟化),即Secure Nested Paging(SNP,安全嵌套分页)。我们的设计基于对影响SNP VM网络性能的所有可能因素的全面分析。通过大量消除开销来源,我们得到了一种效率接近最优基于TIO配置的设计。评估表明,FOLIO相对于最优TIO配置的性能下降不到6%,且仅依赖现成的CPU。

英文摘要:

Trusted I/O (TIO) is an appealing solution to improve I/O performance for confidential VMs (CVMs), with the potential to eliminate broad sources of I/O overhead. However, this paper emphasizes that not all types of I/O can derive substantial benefits from TIO, particularly network I/O. Given the obligatory use of encryption protocols for network traffic in CVM's threat model, TIO's approach of I/O encryption over the PCIe bus becomes redundant. Furthermore, TIO solutions need to expand the Trusted Computing Base (TCB) to include TIO devices and are commercially unavailable. Motivated by these insights, the goal of this paper is to propose a software solution that helps CVMs immediately benefit from high-performance networks, while confining trust only to the on-chip CVM. We present FOLIO, a software solution crafted from a secure and efficient Data Plane Development Kit (DPDK) extension compatible with the latest version of AMD Secure Encrypted Virtualization (SEV), a.k.a., Secure Nested Paging (SNP). Our design is informed by a thorough analysis of all possible factors that impact SNP VM's network performance. By extensively removing overhead sources, we arrive at a design that approaches the efficiency of an optimal TIO-based configuration. Evaluation shows that FOLIO has a performance dip less than 6% relative to the optimal TIO configuration, while only relying on off-the-shelf CPUs.

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

↑