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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 34 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Designing Cloud Servers for Lower Carbon 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Designing Cloud Servers for Lower Carbon 引用了 Protean: VM Allocation Service at Scale
- Tiered Memory Management: Access Latency is the Key! 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Tiered Memory Management: Access Latency is the Key! 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms 引用了 Protean: VM Allocation Service at Scale
- Systematic CXL Memory Characterization and Performance Analysis at Scale 引用了 Designing Cloud Servers for Lower Carbon
- Systematic CXL Memory Characterization and Performance Analysis at Scale 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Systematic CXL Memory Characterization and Performance Analysis at Scale 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Firecracker: Lightweight Virtualization for Serverless Applications 引用了 Spectre Attacks: Exploiting Speculative Execution
- M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory Systems 引用了 TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
- Octopus: Enhancing CXL Memory Pods via Sparse Topology 引用了 Tiered Memory Management: Access Latency is the Key!
- Octopus: Enhancing CXL Memory Pods via Sparse Topology 引用了 Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
- Octopus: Enhancing CXL Memory Pods via Sparse Topology 引用了 Systematic CXL Memory Characterization and Performance Analysis at Scale
- Octopus: Enhancing CXL Memory Pods via Sparse Topology 引用了 Protean: VM Allocation Service at Scale
引用它的顶会 Paper34
- Designing Cloud Servers for Lower CarbonJaylen Wang, Daniel S. Berger, Fiodar Kazhamiaka, Celine Irvene 等ISCA 2024 · 49 次引用
- Systematic CXL Memory Characterization and Performance Analysis at ScaleJinshu Liu, Hamid Hadian, Yuyue Wang, Daniel S. Berger 等ASPLOS 2025 · 47 次引用
- M5: Mastering Page Migration and Memory Management for CXL-based Tiered Memory SystemsYan Sun, Jongyul Kim, Zeduo Yu, Jiyuan Zhang 等ASPLOS 2025 · 27 次引用
- Tiered Memory Management: Access Latency is the Key!Midhul Vuppalapati, Rachit AgarwalSOSP 2024 · 22 次引用
- Octopus: Enhancing CXL Memory Pods via Sparse TopologyYuhong Zhong, Fiodar Kazhamiaka, Pantea Zardoshti, Shuwei Teng 等NSDI 2026 · 15 次引用
它引用的 Paper18
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Pond: CXL-Based Memory Pooling Systems for Cloud PlatformsHuaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst 等ASPLOS 2023 · 328 次引用
- TPP: Transparent Page Placement for CXL-Enabled Tiered-MemoryHasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner 等ASPLOS 2023 · 255 次引用
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori 等NSDI 2020 · 197 次引用
- Protean: VM Allocation Service at ScaleOri Hadary, Luke Marshall, Ishai Menache, Abhisek Pan 等OSDI 2020 · 189 次引用
相关 Paper
- Beyond Page Migration: Enhancing Tiered Memory Performance via Integrated Last-Level Cache Management and Page MigrationHwanjun Lee, Minho Kim, Yeji Jung, Seonmu Oh 等MICRO 2025 · 2 次引用
- MTTM: Dynamic Fast Memory Partitioning with Bandwidth Optimization for Multi-tenant CloudChangjun Lee, Sangjin Choi, Youngjin KwonEuroSys 2026 · 1 次引用
- 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 次引用
- Performance Predictability in Heterogeneous MemoryJinshu Liu, Hanchen Xu, Daniel S. Berger, Marcos K. Aguilera 等ASPLOS 2026 · 1 次引用
- NeoMem: Hardware/Software Co-Design for CXL-Native Memory TieringZhe Zhou, Yiqi Chen, Tao Zhang, Yang Wang 等MICRO 2024 · 17 次引用
