AIFM: High-Performance, Application-Integrated Far Memory
Zhenyuan Ruan, Malte Schwarzkopf, Marcos K. Aguilera, Adam Belay
Abstract
Memory is the most contended and least elastic resource in datacenter servers today. Applications can use only local memory-which may be scarce-even though memory might be readily available on another server. This leads to unnecessary killings of workloads under memory pressure and reduces effective server utilization.
We present application-integrated far memory (AIFM), which makes remote, "far" memory available to applications through a simple API and with high performance. AIFM achieves the same common-case access latency for far memory as for local RAM; it avoids read and write amplification that paging-based approaches suffer; it allows data structure engineers to build remoteable, hybrid near/far memory data structures; and it makes far memory transparent and easy to use for application developers.
Our key insight is that exposing application-level semantics to a high-performance runtime makes efficient remoteable memory possible. Developers use AIFM's APIs to make allocations remoteable, and AIFM's runtime handles swapping objects in and out, prefetching, and memory evacuation.
We evaluate AIFM with a prototypical web application frontend, a NYC taxi data analytics workload, a memcachedlike key-value cache, and Snappy compression. Adding AIFM remoteable memory to these applications increases their available memory without performance penalty. AIFM outperforms Fastswap, a state-of-the-art kernel-integrated, pagingbased far memory system [6] by up to 61×.
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.
84 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
- Clio: a hardware-software co-designed disaggregated memory system cites Can far memory improve job throughput?
- Clio: a hardware-software co-designed disaggregated memory system cites StRoM: smart remote memory
- Clio: a hardware-software co-designed disaggregated memory system cites One-sided RDMA-Conscious Extendible Hashing for Disaggregated Memory
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms cites Clio: a hardware-software co-designed disaggregated memory system
- Pond: CXL-Based Memory Pooling Systems for Cloud Platforms cites Can far memory improve job throughput?
- 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 Rethinking software runtimes for disaggregated memory
- TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory cites Can far memory improve job throughput?
- TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory cites Rethinking software runtimes for disaggregated memory
- Rethinking software runtimes for disaggregated memory cites Can far memory improve job throughput?
Cited by top-tier papers84
- 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
- Rethinking software runtimes for disaggregated memoryIrina Calciu, M. Talha Imran, Ivan Puddu, Sanidhya Kashyap et al.ASPLOS 2021 · 116 citations
- One-sided RDMA-Conscious Extendible Hashing for Disaggregated MemoryPengfei Zuo, Jiazhao Sun, Liu Yang, Shuangwu Zhang et al.USENIX ATC 2021 · 113 citations
- Clio: a hardware-software co-designed disaggregated memory systemZhiyuan Guo, Yizhou Shan, Xuhao Luo, Yutong Huang et al.ASPLOS 2022 · 110 citations
Builds on3
- Borg: the next generationMuhammad Tirmazi, Adam Barker, Nan Deng, Md E. Haque et al.EuroSys 2020 · 323 citations
- Can far memory improve job throughput?Emmanuel Amaro, Christopher Branner-Augmon, Zhihong Luo, Amy Ousterhout et al.EuroSys 2020 · 163 citations
- StRoM: smart remote memoryDavid Sidler, Zeke Wang, Monica Chiosa, Amit Kulkarni et al.EuroSys 2020 · 83 citations
Related papers
- Eden: Developer-Friendly Application-Integrated Far MemoryAnil Yelam, Stewart Grant, Saarth Deshpande, Nadav Amit et al.NSDI 2025 · 2 citations
- Mira: A Program-Behavior-Guided Far Memory SystemZhiyuan Guo, Zijian He, Yiying ZhangSOSP 2023 · 22 citations
- A Tale of Two Paths: Toward a Hybrid Data Plane for Efficient Far-Memory ApplicationsLei Chen, Shi Liu, Chenxi Wang, Haoran Ma et al.OSDI 2024 · 16 citations
- MemLiner: Lining up Tracing and Application for a Far-Memory-Friendly RuntimeChenxi Wang, Haoran Ma, Shi Liu, Yifan Qiao et al.OSDI 2022 · 47 citations
- Sharry: An Efficient and Sharing Far Memory SystemChen Chen, Yuhang Huang, Shuiguang Deng, Jianwei Yin et al.DAC 2024
