Lune

HPCA2025Top-tier venue

Gemina: A Coordinated and High-Performance Memory Deduplication Engine

Zhehua Zhang, Suzhen Wu, Wenyan You, Chunfeng Du, Bo Mao

Abstract

Memory deduplication is widely used to effectively reduce the memory footprint in operating systems, while huge pages are employed to enhance access performance by increasing TLB hit rates. Unfortunately, duplicate huge pages are very rare in memory, leading to most huge pages being split into base pages during deduplication, which degrades access performance by up to 43%\mathbf{4 3 \%}. Although asynchronous huge page promotion attempts to elevate multiple base pages to huge pages to maximize performance, deduplication disrupts the uniformity of page attributes, limiting the effectiveness of such promotions. To address this problem, we designed Gemina, a new memory deduplication scheme that coordinates huge page management. Gemina employs a fine-grained detector to distinguish pages, redundancy and hotness, a distributor to process pages conservatively and avoid frequent switches, and an adapter to organize memory for fast conversion. This approach balances the trade-off between performance and space efficiency in memory management. Experimental evaluations show that, compared to the naive KSM-based deduplication scheme, Gemina can achieve 96.1%96.1 \% of the memory savings of KSM while also improving memory access performance by 43.1%\mathbf{4 3. 1 \%} in random access.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Compaction-Free Memory Defragmentation for Virtualization via Infinite Guest Physical Address SpacePeixin Zeng, Hao Huang, Yanqi Pan, Wen Xia et al.OSDI 2026

Related papers

  1. Architectural Support for Optimizing Huge Page Selection Within the OSAninda Manocha, Zi Yan, Esin Tureci, Juan L. Aragón et al.MICRO 2023 · 2 citations
  2. Taming Hot Bloat Under Virtualization with HUGESCOPEChuandong Li, Sai Sha, Yangqing Zeng, Xiran Yang et al.USENIX ATC 2024 · 8 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. Mosaic Pages: Big TLB Reach with Small PagesKrishnan Gosakan, Jaehyun Han, William Kuszmaul, Ibrahim N. Mubarek et al.ASPLOS 2023 · 21 citations
  5. BASK: Batch And SmartNIC-offloaded KSMChanshin Kwak, Jaehyeon Lee, Minkyu Jung, Changjun Lee et al.EuroSys 2026
Dusk over the sea between two cliffs drawn in fine vertical lines