HMM-V:虚拟化的异构存储管理
HMM-V: Heterogeneous Memory Management for Virtualization
摘要:
虚拟机(VM)的存储器需求正在增加,而DRAM具有有限的容量和高功耗。非易失性存储器(NVM)是DRAM的替代品,但它具有高延迟和低带宽。我们观察到,与DRAM VM相比,具有异构存储器的VM可能会导致$1.5\times$减速,如果管理不好的话。然而,没有一种最先进的异构存储管理设计是针对真实系统上的虚拟化而定制的。在本文中,我们提出了HMM-V,异构存储管理系统的虚拟化。HMM-V自动确定页面热度,并在DRAM和NVM之间迁移页面,以实现接近DRAM系统的性能。首先,HMM-V通过页表操作来跟踪内存访问,但通过利用Intel页面修改日志记录(PML)和多级队列来降低成本。其次,HMM-V量化页面的“温度”,并通过桶排序确定热集。然后,HMM-V以最小的访问暂停有效地迁移页面,并在PML的帮助下处理脏页面。最后,HMM-V提供池化管理,以在多个VM之间平衡宝贵的DRAM,从而最大限度地提高利用率和整体性能。HMM-V是在一个实际的系统上实现的,具有Intel Optane DC持久内存。四虚拟机协同运行结果表明,HMM-V在NUMA平衡和硬件管理(Intel Optane内存模式)方面的性能分别优于$51\%$和$31\%$。
英文摘要:
The memory demand of virtual machines (VMs) is increasing, while DRAM has limited capacity and high power consumption. Non-volatile memory (NVM) is an alternative to DRAM, but it has high latency and low bandwidth. We observe that the VM with heterogeneous memory may incur up to a $1.5\times$ slowdown compared to a DRAM VM, if not managed well. However, none of the state-of-the-art heterogeneous memory management designs are customized for virtualization on a real system. In this paper, we propose HMM-V, a Heterogeneous Memory Management system for Virtualization. HMM-V automatically determines page hotness and migrates pages between DRAM and NVM to achieve performance close to the DRAM system. First, HMM-V tracks memory accesses through page table manipulation, but reduces the cost by leveraging Intel page-modification logging (PML) and a multi-level queue. Second, HMM-V quantifies the ``temperature'' of page and determines the hot set with bucket-sorting. HMM-V then efficiently migrates pages with minimal access pause and handles dirty pages with the assistance of PML. Finally, HMM-V provides pooling management to balance precious DRAM across multiple VMs to maximize utilization and overall performance. HMM-V is implemented on a real system with Intel Optane DC persistent memory. The four-VM co-running results show that HMM-V outperforms NUMA balancing and hardware management (Intel Optane memory mode) by $51\%$ and $31\%$, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。