MemLiner: Lining up Tracing and Application for a Far-Memory-Friendly Runtime
Chenxi Wang, Haoran Ma, Shi Liu, Yifan Qiao, Jonathan Eyolfson, Christian Navasca, Shan Lu, Guoqing Harry Xu
Abstract
Far-memory techniques that enable applications to use remote memory are increasingly appealing in modern data centers, supporting applications' large memory footprint and improving machines' resource utilization. Unfortunately, most far-memory techniques focus on OS-level optimizations and are agnostic to managed runtimes and garbage collections (GC) underneath applications written in high-level languages. With different object-access patterns from applications, GC can severely interfere with existing far-memory techniques, breaking remote memory prefetching algorithms and causing severe local-memory misses.
We developed MemLiner, a runtime technique that improves the performance of far-memory systems by "lining up" memory accesses from the application and the GC so that they follow similar memory access paths, thereby (1) reducing the local-memory working set and (2) improving remote-memory prefetching through simplified memory access patterns. We implemented MemLiner in two widely-used GCs in Open-JDK: G1 and Shenandoah. Our evaluation with a range of widely-deployed cloud systems shows MemLiner improves applications' end-to-end performance by up to 2.5×. Aligned Working Set App Thread App Thread GC Tracing Thread (a) Current runtime (b) MemLiner runtime GC Working Set App Working Set
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5042cdc1-567b-4f0c-ac41-d4e15853fb35Cited by top-tier papers20
- Canvas: Isolated and Adaptive Swapping for Multi-Applications on Remote MemoryChenxi Wang, Yifan Qiao, Haoran Ma, Shi Liu et al.NSDI 2023 · 53 citations
- Hermit: Low-Latency, High-Throughput, and Transparent Remote Memory via Feedback-Directed AsynchronyYifan Qiao, Chenxi Wang, Zhenyuan Ruan, Adam Belay et al.NSDI 2023 · 50 citations
- Validating JIT Compilers via Compilation Space ExplorationCong Li, Yanyan Jiang, Chang Xu, Zhendong SuSOSP 2023 · 22 citations
- DiLOS: Do Not Trade Compatibility for Performance in Memory DisaggregationWonsup Yoon, Jisu Ok, Jinyoung Oh, Sue Moon et al.EuroSys 2023 · 21 citations
- Scaling Up Memory Disaggregated Applications with SMARTFeng Ren, Mingxing Zhang, Kang Chen, Huaxia Xia et al.ASPLOS 2024 · 16 citations
Builds on12
- AIFM: High-Performance, Application-Integrated Far MemoryZhenyuan Ruan, Malte Schwarzkopf, Marcos K. Aguilera, Adam BelayOSDI 2020 · 224 citations
- Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 citations
- Effectively Prefetching Remote Memory with LeapHasan Al Maruf, Mosharaf ChowdhuryUSENIX ATC 2020 · 186 citations
- Can far memory improve job throughput?Emmanuel Amaro, Christopher Branner-Augmon, Zhihong Luo, Amy Ousterhout et al.EuroSys 2020 · 163 citations
- Rethinking software runtimes for disaggregated memoryIrina Calciu, M. Talha Imran, Ivan Puddu, Sanidhya Kashyap et al.ASPLOS 2021 · 116 citations
Related papers
- Mira: A Program-Behavior-Guided Far Memory SystemZhiyuan Guo, Zijian He, Yiying ZhangSOSP 2023 · 22 citations
- Eden: Developer-Friendly Application-Integrated Far MemoryAnil Yelam, Stewart Grant, Saarth Deshpande, Nadav Amit et al.NSDI 2025 · 2 citations
- TrackFM: Far-out Compiler Support for a Far Memory WorldBrian R. Tauro, Brian Suchy, Simone Campanoni, Peter A. Dinda et al.ASPLOS 2024 · 6 citations
- Semeru: A Memory-Disaggregated Managed RuntimeChenxi Wang, Haoran Ma, Shi Liu, Yuanqi Li et al.OSDI 2020 · 6 citations
- Sharry: An Efficient and Sharing Far Memory SystemChen Chen, Yuhang Huang, Shuiguang Deng, Jianwei Yin et al.DAC 2024
