Parallel virtualized memory translation with nested elastic cuckoo page tables
Jovan Stojkovic, Dimitrios Skarlatos, Apostolos Kokolis, Tianyin Xu, Josep Torrellas
摘要
A major reason why nested or virtualized address translations are slow is because current systems organize page tables in a multi-level tree that is accessed in a sequential manner. A nested translation may potentially require up to twenty-four sequential memory accesses. To address this problem, this paper presents the first page table design that supports parallel nested address translation. The design is based on using hashed page tables (HPTs) for both guest and host. However, directly extending a native HPT design to a nested environment leads to minor gains. Instead, our design solves a new set of challenges that appear in nested environments. Our scheme eliminates all but three of the potentially twenty-four sequential steps of a nested translation—while judiciously limiting the number of parallel memory accesses issued to avoid over-consuming cache bandwidth. As a result, compared to conventional nested radix tables, our design speeds-up the execution of a set of applications by an average of 1.19x (for 4KB pages) and 1.24x (when huge pages are used). In addition, we also show a migration path from current nested radix page tables to our design.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Contiguitas: The Pursuit of Physical Memory Contiguity in Datacenters 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
- Contiguitas: The Pursuit of Physical Memory Contiguity in Datacenters 引用了 Enhancing and Exploiting Contiguity for Fast Memory Virtualization
- Contiguitas: The Pursuit of Physical Memory Contiguity in Datacenters 引用了 Memory-Efficient Hashed Page Tables
- Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM Rowhammer 引用了 Contiguitas: The Pursuit of Physical Memory Contiguity in Datacenters
- Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM Rowhammer 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- Perforated Page: Supporting Fragmented Memory Allocation for Large Pages 引用了 Enhancing and Exploiting Contiguity for Fast Memory Virtualization
- Enhancing and Exploiting Contiguity for Fast Memory Virtualization 引用了 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
- Mosaic Pages: Big TLB Reach with Small Pages 引用了 Enhancing and Exploiting Contiguity for Fast Memory Virtualization
- Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources 引用了 Contiguitas: The Pursuit of Physical Memory Contiguity in Datacenters
- Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
- Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources 引用了 Perforated Page: Supporting Fragmented Memory Allocation for Large Pages
- Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources 引用了 Mosaic Pages: Big TLB Reach with Small Pages
- Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources 引用了 Memory-Efficient Hashed Page Tables
- Enhancing and Exploiting Contiguity for Fast Memory Virtualization 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
- Memory-Efficient Hashed Page Tables 引用了 Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
引用它的顶会 Paper12
- Contiguitas: The Pursuit of Physical Memory Contiguity in DatacentersKaiyang Zhao, Kaiwen Xue, Ziqi Wang, Dan Schatzberg 等ISCA 2023 · 26 次引用
- Mosaic Pages: Big TLB Reach with Small PagesKrishnan Gosakan, Jaehyun Han, William Kuszmaul, Ibrahim N. Mubarek 等ASPLOS 2023 · 21 次引用
- Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache ResourcesKonstantinos Kanellopoulos, Hong Chul Nam, Nisa Bostanci, Rahul Bera 等MICRO 2023 · 16 次引用
- Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM RowhammerKevin Loughlin, Jonah Rosenblum, Stefan Saroiu, Alec Wolman 等SOSP 2023 · 13 次引用
- Memory-Efficient Hashed Page TablesJovan Stojkovic, Namrata Mantri, Dimitrios Skarlatos, Tianyin Xu 等HPCA 2023 · 11 次引用
它引用的 Paper9
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori 等NSDI 2020 · 197 次引用
- Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis 等MICRO 2020 · 88 次引用
- Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for ParallelismDimitrios Skarlatos, Apostolos Kokolis, Tianyin Xu, Josep TorrellasASPLOS 2020 · 55 次引用
- Enhancing and Exploiting Contiguity for Fast Memory VirtualizationChloe Alverti, Stratos Psomadakis, Vasileios Karakostas, Jayneel Gandhi 等ISCA 2020 · 41 次引用
- Perforated Page: Supporting Fragmented Memory Allocation for Large PagesChang Hyun Park, Sanghoon Cha, Bokyeong Kim, Youngjin Kwon 等ISCA 2020 · 35 次引用
相关 Paper
- Direct Memory Translation for Virtualized CloudsJiyuan Zhang, Weiwei Jia, Siyuan Chai, Peizhe Liu 等ASPLOS 2024 · 5 次引用
- Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page TableOsang Kwon, Yongho Lee, Junhyeok Park, Sungbin Jang 等MICRO 2024 · 7 次引用
- Translation Pass-Through for Near-Native Paging Performance in VMsShai Bergman, Mark Silberstein, Takahiro Shinagawa, Peter R. Pietzuch 等USENIX ATC 2023 · 10 次引用
- vPIM: Efficient Virtual Address Translation for Scalable Processing-in-Memory ArchitecturesAmel Fatima, Sihang Liu, Korakit Seemakhupt, Rachata Ausavarungnirun 等DAC 2023 · 6 次引用
- Every walk's a hit: making page walks single-access cache hitsChang Hyun Park, Ilias Vougioukas, Andreas Sandberg, David Black-SchafferASPLOS 2022 · 34 次引用
