...
首页> 外文期刊>Computer architecture news >Agile Paging: Exceeding the Best of Nested and Shadow Paging
【24h】

Agile Paging: Exceeding the Best of Nested and Shadow Paging

机译:敏捷分页:超越嵌套和阴影分页的最佳标准

获取原文
获取原文并翻译 | 示例

摘要

Virtualization provides benefits for many workloads, but the overheads of virtualizing memory are not universally low. The cost comes from managing two levels of address translation-one in the guest virtual machine (VM) and the other in the host virtual machine monitor (VMM)-with either nested or shadow paging. Nested paging directly performs a two-level page walk that makes TLB misses slower than unvirtualized native, but enables fast page tables changes. Alternatively, shadow paging restores native TLB miss speeds, but requires costly VMM intervention on page table updates. This paper proposes agile paging that combines both techniques and exceeds the best of both. A virtualized page walk starts with shadow paging and optionally switches in the same page walk to nested paging where frequent page table updates would cause costly VMM interventions. Agile paging enables most TLB misses to be handled as fast as native while most page table changes avoid VMM intervention. It requires modest changes to hardware (e.g., demark when to switch) and VMM policies (e.g., predict good switching opportunities). We emulate the proposed hardware and prototype the software in Linux with KVM on x86-64. Agile paging performs more than 12% better than the best of the two techniques and comes within 4% of native execution for all workloads.
机译:虚拟化为许多工作负载提供了好处,但是虚拟化内存的开销并非普遍较低。成本来自使用嵌套或影子分页管理两个级别的地址转换,一个级别在来宾虚拟机(VM)中,另一级别在主机虚拟机监视器(VMM)中。嵌套分页直接执行两级页面遍历,这使TLB丢失的速度比未虚拟化本机慢,但可以快速更改页面表。另外,影子分页可以恢复本机TLB的未命中速度,但是需要昂贵的VMM干预页表更新。本文提出了一种结合了这两种技术并且超越了两者的优点的敏捷分页。虚拟化的页面漫游从影子分页开始,并且可以选择在同一页面漫游中切换到嵌套分页,在该页面上频繁的页面表更新会导致代价高昂的VMM干预。灵活的分页功能使大多数TLB遗漏的处理速度与本机一样快,而大多数页表更改避免了VMM的干预。它需要适度地更改硬件(例如,标记何时切换)和VMM策略(例如,预测良好的切换机会)。我们在x86-64上使用KVM在Linux上模拟了建议的硬件并对该软件进行了原型设计。敏捷分页的性能比这两种技术中的最好技术高出12%以上,并且在所有工作负载的本地执行中都不到4%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号