Lune

OSDI2026顶会

Compaction-Free Memory Defragmentation for Virtualization via Infinite Guest Physical Address Space

Peixin Zeng, Hao Huang, Yanqi Pan, Wen Xia, Darong Yang, Jiahao Chen, Nan Zhang

问 Lune

摘要

In virtualized environments, guest memory defragmentation is essential for exploiting huge-page benefits and improving application performance. However, existing approaches directly reuse host-side defragmentation and assume a limited guest physical address (GPA) space. As a result, they rely on memory compaction to defragment this constrained space, causing throughput to drop by up to 51% and latency to rise by up to 102% in YCSB-Redis workloads.

This paper proposes INFINIDEFRAG, a compaction-free memory defragmentation technique for virtualization. Our key insight is that the GPA space can be regarded as (nearly) infinite by controlling the mapping between GPA and host physical address (HPA), thereby eliminating the need for guest-side memory compaction. To realize this insight, we introduce (1) Infinite Address Manager that expands the GPA space while reclaiming free fragment pages; (2) Host Memory Guard that maintains the GPA-HPA mapping and constrains HPA usage within each VM's quota; and (3) Scalability Optimizer that scales GPA/HPA space management to multi-thread and multi-VM environments. Experiments on micro-benchmarks and real-world applications show that IN-FINIDEFRAG outperforms state-of-the-art approaches and can achieve ideal, fragmentation-free performance.

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • 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
  • Beyond malloc efficiency to fleet efficiency: a hugepage-aware memory allocator 引用了 Learning-based Memory Allocation for C++ Server Workloads
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper16

  1. Learning-based Memory Allocation for C++ Server WorkloadsMartin Maas, David G. Andersen, Michael Isard, Mohammad Mahdi Javanmard 等ASPLOS 2020 · 59 次引用
  2. Beyond malloc efficiency to fleet efficiency: a hugepage-aware memory allocatorA. H. Hunter, Chris Kennelly, Paul Turner, Darryl Gove 等OSDI 2021 · 51 次引用
  3. Enhancing and Exploiting Contiguity for Fast Memory VirtualizationChloe Alverti, Stratos Psomadakis, Vasileios Karakostas, Jayneel Gandhi 等ISCA 2020 · 41 次引用
  4. A Comprehensive Analysis of Superpage Management Mechanisms and PoliciesWeixi Zhu, Alan L. Cox, Scott RixnerUSENIX ATC 2020 · 40 次引用
  5. Perforated Page: Supporting Fragmented Memory Allocation for Large PagesChang Hyun Park, Sanghoon Cha, Bokyeong Kim, Youngjin Kwon 等ISCA 2020 · 35 次引用

相关 Paper

  1. PTEMagnet: fine-grained physical memory reservation for faster page walks in public cloudsArtemiy Margaritov, Dmitrii Ustiugov, Amna Shahab, Boris GrotASPLOS 2021 · 19 次引用
  2. Efficient Memory Overcommitment for I/O Passthrough Enabled VMs via Fine-grained Page Meta-data ManagementYaohui Wang, Ben Luo, Yibin ShenUSENIX ATC 2023 · 18 次引用
  3. Blowfish: Elastic Virtual Machine Memory for Disaggregated MemoryYulong Zhang, Yilong Luo, Diyu Zhou, Quan Chen 等OSDI 2026
  4. Taming Hot Bloat Under Virtualization with HUGESCOPEChuandong Li, Sai Sha, Yangqing Zeng, Xiran Yang 等USENIX ATC 2024 · 8 次引用
  5. LLFree: Scalable and Optionally-Persistent Page-Frame AllocationLars Wrenger, Florian Rommel, Alexander Halbuer, Christian Dietrich 等USENIX ATC 2023 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖