Lune

MICRO2023顶会

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

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

摘要

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, especially in data-intensive workloads. 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 making use of 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 segments 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. At the same time, Utopia retains the ability to use the flexible address mapping to (i) support conventional VM features such as data sharing and (ii) avoid storing data in the swap space of the storage device when program data does not fit inside a restrictive segment.

Our evaluation using 11 diverse data-intensive workloads shows that Utopia improves performance by 24% in a single-core system over the baseline conventional four-level radix-tree page table design, whereas the best prior state-of-the-art contiguity-aware translation scheme improves performance by 13%. Utopia provides 95% of the performance benefits of an ideal address translation scheme where every translation request hits in the firstlevel TLB. All of Utopia's benefits come at a modest cost of 0.64% area overhead and 0.72% power overhead compared to a modern high-end CPU. The source code of Utopia is freely available at https://github.com/CMU-SAFARI/Utopia.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Instruction-Aware Cooperative TLB and Cache Replacement Policies 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Instruction-Aware Cooperative TLB and Cache Replacement Policies 引用了 Exploiting Page Table Locality for Agile TLB Prefetching
  • Instruction-Aware Cooperative TLB and Cache Replacement Policies 引用了 Every walk's a hit: making page walks single-access cache hits
  • Every walk's a hit: making page walks single-access cache hits 引用了 Mitosis: Transparently Self-Replicating Page-Tables for Large-Memory Machines
  • Every walk's a hit: making page walks single-access cache hits 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Every walk's a hit: making page walks single-access cache hits 引用了 Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
  • Mosaic Pages: Big TLB Reach with Small Pages 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Mosaic Pages: Big TLB Reach with Small Pages 引用了 Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
  • EMT: An OS Framework for New Memory Translation Architectures 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • EMT: An OS Framework for New Memory Translation Architectures 引用了 Every walk's a hit: making page walks single-access cache hits
  • EMT: An OS Framework for New Memory Translation Architectures 引用了 Mosaic Pages: Big TLB Reach with Small Pages
  • EMT: An OS Framework for New Memory Translation Architectures 引用了 Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table 引用了 Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table 引用了 Every walk's a hit: making page walks single-access cache hits
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table 引用了 Mosaic Pages: Big TLB Reach with Small Pages
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Mosaic Pages: Big TLB Reach with Small PagesKrishnan Gosakan, Jaehyun Han, William Kuszmaul, Ibrahim N. Mubarek 等ASPLOS 2023 · 21 次引用
  2. A Case for Speculative Address Translation with Rapid Validation for GPUsJunhyeok Park, Osang Kwon, Yongho Lee, Seongwook Kim 等MICRO 2024 · 13 次引用
  3. Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page TableOsang Kwon, Yongho Lee, Junhyeok Park, Sungbin Jang 等MICRO 2024 · 7 次引用
  4. Instruction-Aware Cooperative TLB and Cache Replacement PoliciesDimitrios Chasapis, Georgios Vavouliotis, Daniel A. Jiménez, Marc CasasASPLOS 2025 · 5 次引用
  5. EMT: An OS Framework for New Memory Translation ArchitecturesSiyuan Chai, Jiyuan Zhang, Jongyul Kim, Alan Wang 等OSDI 2025 · 1 次引用

它引用的 Paper21

  1. Mitosis: Transparently Self-Replicating Page-Tables for Large-Memory MachinesReto Achermann, Ashish Panwar, Abhishek Bhattacharjee, Timothy Roscoe 等ASPLOS 2020 · 62 次引用
  2. Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for ParallelismDimitrios Skarlatos, Apostolos Kokolis, Tianyin Xu, Josep TorrellasASPLOS 2020 · 55 次引用
  3. Perforated Page: Supporting Fragmented Memory Allocation for Large PagesChang Hyun Park, Sanghoon Cha, Bokyeong Kim, Youngjin Kwon 等ISCA 2020 · 35 次引用
  4. Exploiting Page Table Locality for Agile TLB PrefetchingGeorgios Vavouliotis, Lluc Alvarez, Vasileios Karakostas, Konstantinos Nikas 等ISCA 2021 · 34 次引用
  5. Every walk's a hit: making page walks single-access cache hitsChang Hyun Park, Ilias Vougioukas, Andreas Sandberg, David Black-SchafferASPLOS 2022 · 34 次引用

相关 Paper

  1. Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache ResourcesKonstantinos Kanellopoulos, Hong Chul Nam, Nisa Bostanci, Rahul Bera 等MICRO 2023 · 16 次引用
  2. Enhancing and Exploiting Contiguity for Fast Memory VirtualizationChloe Alverti, Stratos Psomadakis, Vasileios Karakostas, Jayneel Gandhi 等ISCA 2020 · 41 次引用
  3. Revelator: Rapid Data Fetching Via System-Software-Guided Hash-Based Speculative Address TranslationKonstantinos Kanellopoulos, Konstantinos Sgouras, Harsh Songara, Andreas Kosmas Kakolyris 等ISCA 2026
  4. The Virtual Block Interface: A Flexible Alternative to the Conventional Virtual Memory FrameworkNastaran Hajinazar, Pratyush Patel, Minesh Patel, Konstantinos Kanellopoulos 等ISCA 2020 · 25 次引用
  5. Virtual-Memory Assisted Buffer ManagementViktor Leis, Adnan Alhomssi, Tobias Ziegler, Yannick Loeck 等SIGMOD 2023 · 37 次引用
黄昏的海面,两侧是细线勾勒的悬崖