虚拟化系统的硬件翻译一致性
Hardware Translation Coherence for Virtualized Systems
摘要:
为了提高系统性能,现代操作系统(OS)经常进行需要修改虚拟到物理页面转换映射的活动。例如,OS可以在物理帧之间迁移数据以整理存储器碎片并启用超页。OS可以在异构存储器设备之间迁移数据页。我们将所有这些活动称为页面重映射。不幸的是,页面重映射是昂贵的。我们表明,翻译的一致性是一个主要的罪魁祸首,采用虚拟化的系统是特别严重的影响,他们的开销。作为回应,我们提出了硬件翻译失效和一致性或HATRIC,一个容易实现的硬件机制,背负翻译一致性现有的缓存一致性协议。我们使用基于KVM的虚拟化进行详细的研究,表明HATRIC实现了高达30%的性能和10%的能源效益,每CPU面积开销为2%。我们还量化了HATRIC在运行Xen的系统上的好处,并发现性能提高了33%。
英文摘要:
To improve system performance, modern operating systems (OSes) often undertake activities that require modification of virtual-to-physical page translation mappings. For example, the OS may migrate data between physical frames to defragment memory and enable superpages. The OS may migrate pages of data between heterogeneous memory devices. We refer to all such activities as page remappings. Unfortunately, page remappings are expensive. We show that translation coherence is a major culprit and that systems employing virtualization are especially badly affected by their overheads. In response, we propose hardware translation invalidation and coherence or HATRIC, a readily implementable hardware mechanism to piggyback translation coherence atop existing cache coherence protocols. We perform detailed studies using KVM-based virtualization, showing that HATRIC achieves up to 30% performance and 10% energy benefits, for per-CPU area overheads of 2%. We also quantify HATRIC's benefits on systems running Xen and find up to 33% performance improvements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。