Lune

MICRO2023Top-tier venue

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Instruction-Aware Cooperative TLB and Cache Replacement Policies cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Instruction-Aware Cooperative TLB and Cache Replacement Policies cites Exploiting Page Table Locality for Agile TLB Prefetching
  • Instruction-Aware Cooperative TLB and Cache Replacement Policies cites Every walk's a hit: making page walks single-access cache hits
  • Every walk's a hit: making page walks single-access cache hits cites Mitosis: Transparently Self-Replicating Page-Tables for Large-Memory Machines
  • Every walk's a hit: making page walks single-access cache hits cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Every walk's a hit: making page walks single-access cache hits cites Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
  • Mosaic Pages: Big TLB Reach with Small Pages cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Mosaic Pages: Big TLB Reach with Small Pages cites Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
  • EMT: An OS Framework for New Memory Translation Architectures cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • EMT: An OS Framework for New Memory Translation Architectures cites Every walk's a hit: making page walks single-access cache hits
  • EMT: An OS Framework for New Memory Translation Architectures cites Mosaic Pages: Big TLB Reach with Small Pages
  • EMT: An OS Framework for New Memory Translation Architectures cites Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table cites Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table cites Every walk's a hit: making page walks single-access cache hits
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table cites Mosaic Pages: Big TLB Reach with Small Pages
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

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

Builds on21

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

Related papers

  1. Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache ResourcesKonstantinos Kanellopoulos, Hong Chul Nam, Nisa Bostanci, Rahul Bera et al.MICRO 2023 · 16 citations
  2. Enhancing and Exploiting Contiguity for Fast Memory VirtualizationChloe Alverti, Stratos Psomadakis, Vasileios Karakostas, Jayneel Gandhi et al.ISCA 2020 · 41 citations
  3. Revelator: Rapid Data Fetching Via System-Software-Guided Hash-Based Speculative Address TranslationKonstantinos Kanellopoulos, Konstantinos Sgouras, Harsh Songara, Andreas Kosmas Kakolyris et al.ISCA 2026
  4. The Virtual Block Interface: A Flexible Alternative to the Conventional Virtual Memory FrameworkNastaran Hajinazar, Pratyush Patel, Minesh Patel, Konstantinos Kanellopoulos et al.ISCA 2020 · 25 citations
  5. Virtual-Memory Assisted Buffer ManagementViktor Leis, Adnan Alhomssi, Tobias Ziegler, Yannick Loeck et al.SIGMOD 2023 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines