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

Utopia:通过混合限制性与灵活虚拟-物理地址映射实现快速高效的地址转换

Utopia: Fast and Efficient Address Translation via Hybrid Restrictive & Flexible Virtual-to-Physical Address Mappings

Konstantinos Kanellopoulos, Rahul Bera, Kosta Stojiljkovic, Nisa Bostanci, Can Firtina, Rachata Ausavarungnirun, Rakesh Kumar, Nastaran Hajinazar, Mohammad Sadr… 展开作者

Konstantinos Kanellopoulos, Rahul Bera, Kosta Stojiljkovic, Nisa Bostanci, Can Firtina, Rachata Ausavarungnirun, Rakesh Kumar, Nastaran Hajinazar, Mohammad Sadrosadati, Nandita Vijaykumar, Onur Mutlu

AI总结:

针对传统虚拟内存地址转换开销高的问题,提出混合地址映射方案Utopia,通过限制性与灵活内存段结合,在单核系统中较基线提升24%性能,优于现有最优方案。

摘要:

传统虚拟内存(VM)框架允许虚拟地址灵活映射到任意物理地址。这种灵活性需要大型数据结构来存储虚拟-物理映射,从而导致较高的地址转换延迟,并在内存层次结构中产生较大的转换引发的干扰。另一方面,限制地址映射使虚拟地址只能映射到特定的物理地址集合,能够通过使用紧凑高效的转换结构显著降低地址转换开销。然而,在整个主存中限制地址映射灵活性,会严重限制不同进程间的数据共享,即使存在空闲内存,也会增加对存储设备交换空间的数据访问。我们提出Utopia,一种新型混合虚拟-物理地址映射方案,允许灵活的和基于哈希的限制性地址映射方案在系统中和谐共存。Utopia的核心思想是使用两种物理内存段来管理物理内存:限制性段和灵活段。限制性段采用基于哈希的限制性地址映射方案,将虚拟地址仅映射到特定的物理地址集合,并通过紧凑的转换结构实现更快的地址转换。灵活段则采用传统的完全灵活地址映射方案。通过将数据映射到限制性段,Utopia实现了更快的地址转换,同时降低了转换引发的干扰。在单核系统中,Utopia相较于基线系统将性能提升了24%,而此前最先进的连续感知转换方案仅将性能提升了13%。

英文摘要:

Conventional virtual memory (VM) frameworks enable a virtual address to flexibly map to any physical address. This flexibility necessitates large data structures to store virtual-to-physical mappings, which leads to high address translation latency and large translation-induced interference in the memory hierarchy. On the other hand, restricting the address mapping so that a virtual address can only map to a specific set of physical addresses can significantly reduce address translation overheads by using compact and efficient translation structures. However, restricting the address mapping flexibility across the entire main memory severely limits data sharing across different processes and increases data accesses to the swap space of the storage device, even in the presence of free memory. We propose Utopia, a new hybrid virtual-to-physical address mapping scheme that allows both flexible and restrictive hash-based address mapping schemes to harmoniously co-exist in the system. The key idea of Utopia is to manage physical memory using two types of physical memory segments: restrictive and flexible segments. A restrictive segment uses a restrictive, hash-based address mapping scheme that maps virtual addresses to only a specific set of physical addresses and enables faster address translation using compact translation structures. A flexible segment employs the conventional fully-flexible address mapping scheme. By mapping data to a restrictive segment, Utopia enables faster address translation with lower translation-induced interference. Utopia improves performance by 24% in a single-core system over the baseline system, whereas the best prior state-of-the-art contiguity-aware translation scheme improves performance by 13%.

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

↑