首页> 外文期刊>Computer architecture news >Page Overlays: An Enhanced Virtual Memory Framework to Enable Fine-grained Memory Management
【24h】

Page Overlays: An Enhanced Virtual Memory Framework to Enable Fine-grained Memory Management

机译:页面覆盖:增强的虚拟内存框架,用于启用细粒度的内存管理

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

摘要

Many recent works propose mechanisms demonstrating the potential advantages of managing memory at a fine (e.g., cache line) granularity-e.g., fine-grained deduplication and fine-grained memory protection. Unfortunately, existing virtual memory systems track memory at a larger granularity (e.g., 4 KB pages), inhibiting efficient implementation of such techniques. Simply reducing the page size results in an unacceptable increase in page table overhead and TLB pressure. We propose a new virtual memory framework that enables efficient implementation of a variety of fine-grained memory management techniques. In our framework, each virtual page can be mapped to a structure called a page overlay, in addition to a regular physical page. An overlay contains a subset of cache lines from the virtual page. Cache lines that are present in the overlay are accessed from there and all other cache lines are accessed from the regular physical page. Our page-overlay framework enables cache-line-granularity memory management without significantly altering the existing virtual memory framework or introducing high overheads. We show that our framework can enable simple and efficient implementations of seven memory management techniques, each of which has a wide variety of applications. We quantitatively evaluate the potential benefits of two of these techniques: overlay-on-write and sparse-data-structure computation. Our evaluations show that overlay-on-write, when applied to fork, can improve performance by 15% and reduce memory capacity requirements by 53% on average compared to traditional copy-on-write. For sparse data computation, our framework can outperform a state-of-the-art software-based sparse representation on a number of real-world sparse matrices. Our framework is general, powerful, and effective in enabling fine-grained memory management at low cost.
机译:许多最新的工作提出了一些机制,这些机制证明了以精细(例如,高速缓存行)粒度管理存储器的潜在优势,例如,精细的重复数据删除和精细的内存保护。不幸的是,现有的虚拟存储器系统以较大的粒度(例如4KB页面)跟踪存储器,从而阻碍了这种技术的有效实施。仅减小页面大小会导致页面表开销和TLB压力增加到无法接受的程度。我们提出了一个新的虚拟内存框架,该框架能够有效实施各种细粒度的内存管理技术。在我们的框架中,除了常规的物理页面之外,每个虚拟页面都可以映射到称为页面覆盖的结构。覆盖层包含虚拟页面中缓存行的子集。从那里访问覆盖中存在的缓存行,并从常规物理页面访问所有其他缓存行。我们的页面覆盖框架支持高速缓存行粒度的内存管理,而无需显着更改现有的虚拟内存框架或引入高开销。我们展示了我们的框架可以实现七种内存管理技术的简单有效的实现,每种技术都有广泛的应用程序。我们定量评估了其中两种技术的潜在优势:写覆盖和稀疏数据结构计算。我们的评估表明,与传统的写入时复制相比,将写入时覆盖应用于分叉可以平均提高15%的性能并将内存容量需求平均降低53%。对于稀疏数据计算,我们的框架可以在许多现实世界的稀疏矩阵上胜过基于软件的最新状态的稀疏表示。我们的框架通用,功能强大且有效地以低成本实现了细粒度的内存管理。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号