Managing Memory Tiers with CXL in Virtualized Environments
Yuhong Zhong, Daniel S. Berger, Carl A. Waldspurger, Ryan Wee, Ishwar Agarwal, Rajat Agarwal, Frank Hady, Karthik Kumar, Mark D. Hill, Mosharaf Chowdhury, Asaf Cidon
Abstract
Cloud providers seek to deploy CXL-based memory to increase aggregate memory capacity, reduce costs, and lower carbon emissions. However, CXL accesses incur higher latency than local DRAM. Existing systems use software to manage data placement across memory tiers at page granularity. Cloud providers are reluctant to deploy software-based tiering due to high overheads in virtualized environments. Hardware-based memory tiering could place data at cacheline granularity, mitigating these drawbacks. However, hardware is oblivious to application-level performance.
We propose combining hardware-managed tiering with software-managed performance isolation to overcome the pitfalls of either approach. We introduce Intel ® Flat Memory Mode, the first hardware-managed tiering system for CXL. Our evaluation on a full-system prototype demonstrates that it provides performance close to regular DRAM, with no more than 5% degradation for more than 82% of workloads. Despite such small slowdowns, we identify two challenges that can still degrade performance by up to 34% for "outlier" workloads: (1) memory contention across tenants, and (2) intra-tenant contention due to conflicting access patterns.
To address these challenges, we introduce Memstrata, a lightweight multi-tenant memory allocator. Memstrata employs page coloring to eliminate inter-VM contention. It improves performance for VMs with access patterns that are sensitive to hardware tiering by allocating them more local DRAM using an online slowdown estimator. In multi-VM experiments on prototype hardware, Memstrata is able to identify performance outliers and reduce their degradation from above 30% to below 6%, providing consistent performance across a wide range of workloads.
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.
34 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Designing Cloud Servers for Lower Carbon cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Designing Cloud Servers for Lower Carbon cites Protean: VM Allocation Service at Scale
- Tiered Memory Management: Access Latency is the Key! cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Tiered Memory Management: Access Latency is the Key! cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms cites Firecracker: Lightweight Virtualization for Serverless Applications
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms cites Protean: VM Allocation Service at Scale
- Systematic CXL Memory Characterization and Performance Analysis at Scale cites Designing Cloud Servers for Lower Carbon
- Systematic CXL Memory Characterization and Performance Analysis at Scale cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Systematic CXL Memory Characterization and Performance Analysis at Scale cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Firecracker: Lightweight Virtualization for Serverless Applications cites Spectre Attacks: Exploiting Speculative Execution
- M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory Systems cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Octopus: Enhancing CXL Memory Pods via Sparse Topology cites Tiered Memory Management: Access Latency is the Key!
- Octopus: Enhancing CXL Memory Pods via Sparse Topology cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Octopus: Enhancing CXL Memory Pods via Sparse Topology cites Systematic CXL Memory Characterization and Performance Analysis at Scale
- Octopus: Enhancing CXL Memory Pods via Sparse Topology cites Protean: VM Allocation Service at Scale
Cited by top-tier papers34
- Designing Cloud Servers for Lower CarbonJaylen Wang, Daniel S. Berger, Fiodar Kazhamiaka, Celine Irvene et al.ISCA 2024 · 49 citations
- Systematic CXL Memory Characterization and Performance Analysis at ScaleJinshu Liu, Hamid Hadian, Yuyue Wang, Daniel S. Berger et al.ASPLOS 2025 · 47 citations
- M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory SystemsYan Sun, Jongyul Kim, Zeduo Yu, Jiyuan Zhang et al.ASPLOS 2025 · 27 citations
- Tiered Memory Management: Access Latency is the Key!Midhul Vuppalapati, Rachit AgarwalSOSP 2024 · 22 citations
- Octopus: Enhancing CXL Memory Pods via Sparse TopologyYuhong Zhong, Fiodar Kazhamiaka, Pantea Zardoshti, Shuwei Teng et al.NSDI 2026 · 15 citations
Builds on18
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Pond: CXL-Based Memory Pooling Systems for Cloud PlatformsHuaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst et al.ASPLOS 2023 · 328 citations
- TPP: Transparent Page Placement for CXL-Enabled Tiered-MemoryHasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner et al.ASPLOS 2023 · 255 citations
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori et al.NSDI 2020 · 197 citations
- Protean: VM Allocation Service at ScaleOri Hadary, Luke Marshall, Ishai Menache, Abhisek Pan et al.OSDI 2020 · 189 citations
Related papers
- Beyond Page Migration: Enhancing Tiered Memory Performance via Integrated Last-Level Cache Management and Page MigrationHwanjun Lee, Minho Kim, Yeji Jung, Seonmu Oh et al.MICRO 2025 · 2 citations
- MTTM: Dynamic Fast Memory Partitioning with Bandwidth Optimization for Multi-tenant CloudChangjun Lee, Sangjin Choi, Youngjin KwonEuroSys 2026 · 1 citation
- Demeter: A Scalable and Elastic Tiered Memory Solution for Virtualized Cloud via Guest DelegationJunliang Hu, Zhisheng Hu, Chun-Feng Wu, Ming-Chang YangSOSP 2025 · 1 citation
- Performance Predictability in Heterogeneous MemoryJinshu Liu, Hanchen Xu, Daniel S. Berger, Marcos K. Aguilera et al.ASPLOS 2026 · 1 citation
- NeoMem: Hardware/Software Co-Design for CXL-Native Memory TieringZhe Zhou, Yiqi Chen, Tao Zhang, Yang Wang et al.MICRO 2024 · 17 citations
