Lune

ISCA2023Top-tier venue

Contiguitas: The Pursuit of Physical Memory Contiguity in Datacenters

Kaiyang Zhao, Kaiwen Xue, Ziqi Wang, Dan Schatzberg, Leon Yang, Antonis Manousis, Johannes Weiner, Rik van Riel, Bikash Sharma, Chunqiang Tang, Dimitrios Skarlatos

Abstract

The unabating growth of the memory needs of emerging datacenter applications has exacerbated the scalability bottleneck of virtual memory. However, reducing the excessive overhead of address translation will remain onerous until the physical memory contiguity predicament gets resolved. To address this problem, this paper presents Contiguitas, a novel redesign of memory management in the operating system and hardware that provides ample physical memory contiguity. We identify that the primary cause of memory fragmentation in Meta's datacenters is unmovable allocations scattered across the address space that impede large contiguity from being formed. To provide ample physical memory contiguity by design, Contiguitas first separates regular movable allocations from unmovable ones by placing them into two different continuous regions in physical memory and dynamically adjusts the boundary of the two regions based on memory demand. Drastically reducing unmovable allocations is challenging because the majority of unmovable pages cannot be moved with software alone given that access to the page cannot be blocked for a migration to take place. Furthermore, page migration is expensive as it requires a long downtime to (a) perform TLB shootdowns that scale poorly with the number of victim TLBs, and (b) copy the page. To this end, Contiguitas eliminates the primary source of unmovable allocations by introducing hardware extensions in the last-level cache to enable the transparent and efficient migration of unmovable pages even while the pages remain in use.

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.

10 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

  • Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation Methodology cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation Methodology cites Enhancing and Exploiting Contiguity for Fast Memory Virtualization
  • Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation Methodology cites Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table
  • Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM Rowhammer cites TMO: transparent memory offloading in datacenters
  • Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources cites TMO: transparent memory offloading in datacenters
  • Enhancing and Exploiting Contiguity for Fast Memory Virtualization cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Utopia: Fast and Efficient Address Translation via Hybrid Restrictive & Flexible Virtual-to-Physical Address Mappings cites Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for Parallelism
  • Utopia: Fast and Efficient Address Translation via Hybrid Restrictive & Flexible Virtual-to-Physical Address Mappings cites Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources
  • 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 Victima: Drastically Increasing Address Translation Reach by Leveraging Underutilized Cache Resources
  • Distributed Page Table: Harnessing Physical Memory as an Unbounded Hashed Page Table cites Utopia: Fast and Efficient Address Translation via Hybrid Restrictive & Flexible Virtual-to-Physical Address Mappings
  • Beyond malloc efficiency to fleet efficiency: a hugepage-aware memory allocator cites Learning-based Memory Allocation for C++ Server Workloads
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  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. Utopia: Fast and Efficient Address Translation via Hybrid Restrictive & Flexible Virtual-to-Physical Address MappingsKonstantinos Kanellopoulos, Rahul Bera, Kosta Stojiljkovic, F. Nisa Bostanci et al.MICRO 2023 · 15 citations
  3. Siloz: Leveraging DRAM Isolation Domains to Prevent Inter-VM RowhammerKevin Loughlin, Jonah Rosenblum, Stefan Saroiu, Alec Wolman et al.SOSP 2023 · 13 citations
  4. Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation MethodologyKonstantinos Kanellopoulos, Konstantinos Sgouras, F. Nisa Bostanci, Andreas Kosmas Kakolyris et al.ASPLOS 2025 · 8 citations
  5. 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

Builds on14

  1. TMO: transparent memory offloading in datacentersJohannes Weiner, Niket Agarwal, Dan Schatzberg, Leon Yang et al.ASPLOS 2022 · 103 citations
  2. Learning-based Memory Allocation for C++ Server WorkloadsMartin Maas, David G. Andersen, Michael Isard, Mohammad Mahdi Javanmard et al.ASPLOS 2020 · 59 citations
  3. Elastic Cuckoo Page Tables: Rethinking Virtual Memory Translation for ParallelismDimitrios Skarlatos, Apostolos Kokolis, Tianyin Xu, Josep TorrellasASPLOS 2020 · 55 citations
  4. Beyond malloc efficiency to fleet efficiency: a hugepage-aware memory allocatorA. H. Hunter, Chris Kennelly, Paul Turner, Darryl Gove et al.OSDI 2021 · 51 citations
  5. Enhancing and Exploiting Contiguity for Fast Memory VirtualizationChloe Alverti, Stratos Psomadakis, Vasileios Karakostas, Jayneel Gandhi et al.ISCA 2020 · 41 citations

Related papers

  1. TPP: Transparent Page Placement for CXL-Enabled Tiered-MemoryHasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner et al.ASPLOS 2023 · 255 citations
  2. PTEMagnet: fine-grained physical memory reservation for faster page walks in public cloudsArtemiy Margaritov, Dmitrii Ustiugov, Amna Shahab, Boris GrotASPLOS 2021 · 19 citations
  3. OBASE: Object-Based Address-Space Engineering to Improve Memory TieringVinay Banakar, Suli Yang, Kan Wu, Andrea C. Arpaci-Dusseau et al.OSDI 2026
  4. ctFS: Replacing File Indexing with Hardware Memory Translation through Contiguous File Allocation for Persistent MemoryRuibin Li, Xiang Ren, Xu Zhao, Siwei He et al.FAST 2022 · 43 citations
  5. Mosaic Pages: Big TLB Reach with Small PagesKrishnan Gosakan, Jaehyun Han, William Kuszmaul, Ibrahim N. Mubarek et al.ASPLOS 2023 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines