arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.13483cs.AR
收藏

脱离虚拟机管理程序(OoH):当嵌套虚拟化变得实用时

Out of Hypervisor (OoH): When Nested Virtualization Becomes Practical

Stella Bitchebe, Alain Tchana

摘要:

本文介绍了一个新的研究轴,接近嵌套虚拟化的超管理程序(OoH)。OoH原则不是在VM中模拟完整的虚拟硬件来支持管理程序,而是将当前面向管理程序的硬件虚拟化功能单独暴露给客户操作系统,以便其进程也可以从这些功能中受益。事实上,目前只能由虚拟机管理程序使用的几个硬件虚拟化功能(如Intel PML、SPP、CAT和EPT)也有利于在VM内部运行的进程。我们使用英特尔PML(页面修改日志记录)来说明OoH,该功能允许有效的脏页面跟踪,以改进VM实时迁移。根据脏页跟踪是进程检查点(CRIU)和并发垃圾回收(Boehm)的核心这一事实,提出了两种OoH PML设计,即影子PML(SPML)和扩展PML(EPML)。前者不需要硬件变化,但会产生显着的开销,证明扩展PML的EPML。我们评估和比较了SPML和EPML与/proc和userfaultfd这两种Linux默认解决方案。我们使用一个键值存储数据库作为基准。结果表明,与SPML、/proc和userfaultfd相比,EPML将CRIU检查点时间减少了约14%,而开销可以忽略不计(约为0.5%)。

英文摘要:

This paper introduces Out of Hypervisor (OoH), a new research axis close to nested virtualization. Instead of emulating a full virtual hardware inside a VM to support a hypervisor, the OoH principle is to individually expose current hypervisor-oriented hardware virtualization features to the guest OS so that its processes could also take benefit from those features. In fact, several hardware virtualization features such as Intel PML, SPP, CAT, and EPT which currently can only be used by the hypervisor also be beneficial for processes that run inside the VM. We illustrate OoH with Intel PML (Page Modification Logging), a feature which allows efficient dirty page tracking for improving VM live migration. According to the fact that dirty page tracking is at the heart of process checkpointing (CRIU) and concurrent garbage collection (Boehm), we present two OoH PML designs namely Shadow PML (SPML) and Extended PML (EPML). The former requires no hardware changes but incurs significant overhead, justifying EPML which extends PML. We evaluated and compared SPML and EPML with /proc and userfaultfd,t wo default solutions in Linux. We do this using a key-value store database as the benchmark. The results show that EPML reduces CRIU checkpointing time by about 14% while leading to a negligible overhead (of about 0.5%) compared to SPML, /proc, and userfaultfd.

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

↑