arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.09748cs.AR
收藏

虚拟块接口:传统虚拟内存框架的灵活替代

The Virtual Block Interface: A Flexible Alternative to the Conventional Virtual Memory Framework

Nastaran Hajinazar, Pratyush Patel, Minesh Patel, Konstantinos Kanellopoulos, Saugata Ghose, Rachata Ausavarungnirun, Geraldo Francisco de Oliveira, Jonathan Ap… 展开作者

Nastaran Hajinazar, Pratyush Patel, Minesh Patel, Konstantinos Kanellopoulos, Saugata Ghose, Rachata Ausavarungnirun, Geraldo Francisco de Oliveira, Jonathan Appavoo, Vivek Seshadri, Onur Mutlu

摘要:

计算机在系统设计、新兴存储器技术和应用存储器需求方面继续多样化。不幸的是,持续地使常规虚拟内存框架适应每个可能的系统配置是具有挑战性的,并且经常导致性能损失或需要非平凡的解决方法。为了解决这些挑战,我们提出了一个新的虚拟内存框架,虚拟块接口(VBI)。我们设计VBI的核心思想是将存储管理任务委托给硬件,可以减少与虚拟内存相关的开销和软件复杂性。VBI为应用程序引入了一组可变大小的虚拟块(VB)。每个VB是全局可见VBI地址空间的连续区域,并且应用可以分配每个语义上有意义的信息单元(例如,数据结构)。VBI将访问保护从内存分配和地址转换中分离出来。虽然OS控制哪些程序可以访问哪些VB,但存储器控制器中的专用硬件管理物理存储器分配和VB的地址转换。该方法使得若干架构优化能够(1)高效且灵活地迎合不同且日益多样化的系统配置,以及(2)消除常规虚拟内存的关键低效。我们通过两个重要的用例展示了VBI的好处:(1)减少地址转换的开销(对于本机执行和虚拟机环境),因为VBI减少了转换请求和相关内存访问的数量;(2)两个异构主存架构,其中VBI提高了管理快速内存区域的有效性。在这两种情况下,VBI都比传统的虚拟内存显著提高了性能。

英文摘要:

Computers continue to diversify with respect to system designs, emerging memory technologies, and application memory demands. Unfortunately, continually adapting the conventional virtual memory framework to each possible system configuration is challenging, and often results in performance loss or requires non-trivial workarounds. To address these challenges, we propose a new virtual memory framework, the Virtual Block Interface (VBI). We design VBI based on the key idea that delegating memory management duties to hardware can reduce the overheads and software complexity associated with virtual memory. VBI introduces a set of variable-sized virtual blocks (VBs) to applications. Each VB is a contiguous region of the globally-visible VBI address space, and an application can allocate each semantically meaningful unit of information (e.g., a data structure) in a separate VB. VBI decouples access protection from memory allocation and address translation. While the OS controls which programs have access to which VBs, dedicated hardware in the memory controller manages the physical memory allocation and address translation of the VBs. This approach enables several architectural optimizations to (1) efficiently and flexibly cater to different and increasingly diverse system configurations, and (2) eliminate key inefficiencies of conventional virtual memory. We demonstrate the benefits of VBI with two important use cases: (1) reducing the overheads of address translation (for both native execution and virtual machine environments), as VBI reduces the number of translation requests and associated memory accesses; and (2) two heterogeneous main memory architectures, where VBI increases the effectiveness of managing fast memory regions. For both cases, VBI significanttly improves performance over conventional virtual memory.

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

↑