Lune

NSDI2024顶会

Harvesting Idle Memory for Application-managed Soft State with Midas

Yifan Qiao, Zhenyuan Ruan, Haoran Ma, Adam Belay, Miryung Kim, Harry Xu

摘要

Many applications can benefit from data that increases performance but is not required for correctness (commonly referred to as soft state). Examples include cached data from backend web servers and memoized computations in data analytics systems. Today's systems generally statically limit the amount of memory they use for storing soft state in order to prevent unbounded growth that could exhaust the server's memory. Static provisioning, however, makes it difficult to respond to shifts in application demand for soft state and can leave significant amounts of memory idle. Existing OS kernels can only spend idle memory on caching disk blocks-which may not have the most utility-because they do not provide the right abstractions to safely allow applications to store their own soft state.

To effectively manage and dynamically scale soft state, we propose soft memory, an elastic virtual memory abstraction with unmap-and-reconstruct semantics that makes it possible for applications to use idle memory to store whatever soft state they choose while guaranteeing both safety and efficiency. We present Midas, a soft memory management system that contains (1) a runtime that is linked to each application to manage soft memory objects and (2) OS kernel support that coordinates soft memory allocation between applications to maximize their performance. Our experiments with four real-world applications show that Midas can efficiently and safely harvest idle memory to store applications' soft state, delivering near-optimal application performance and responding to extreme memory pressure without running out of memory.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • DRust: Language-Guided Distributed Shared Memory with Fine Granularity, Full Transparency, and Ultra Efficiency 引用了 Can far memory improve job throughput?
  • DRust: Language-Guided Distributed Shared Memory with Fine Granularity, Full Transparency, and Ultra Efficiency 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • OBASE: Object-Based Address-Space Engineering to Improve Memory Tiering 引用了 The CacheLib Caching Engine: Design and Experiences at Scale
  • OBASE: Object-Based Address-Space Engineering to Improve Memory Tiering 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • Break On Through to the Other Side: Pooling Memory Elastically with RamRyder 引用了 Can far memory improve job throughput?
  • Break On Through to the Other Side: Pooling Memory Elastically with RamRyder 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • Squeezy: Rapid VM Memory Reclamation for Serverless Functions 引用了 Can far memory improve job throughput?
  • Squeezy: Rapid VM Memory Reclamation for Serverless Functions 引用了 Providing SLOs for Resource-Harvesting VMs in Cloud Platforms
  • Squeezy: Rapid VM Memory Reclamation for Serverless Functions 引用了 AIFM: High-Performance, Application-Integrated Far Memory
  • AIFM: High-Performance, Application-Integrated Far Memory 引用了 Can far memory improve job throughput?
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. DRust: Language-Guided Distributed Shared Memory with Fine Granularity, Full Transparency, and Ultra EfficiencyHaoran Ma, Yifan Qiao, Shi Liu, Shan Yu 等OSDI 2024 · 8 次引用
  2. OBASE: Object-Based Address-Space Engineering to Improve Memory TieringVinay Banakar, Suli Yang, Kan Wu, Andrea C. Arpaci-Dusseau 等OSDI 2026
  3. Break On Through to the Other Side: Pooling Memory Elastically with RamRyderYanbo Zhou, Erci Xu, Dongjoo Seo, Adam Manzanares 等OSDI 2026
  4. Squeezy: Rapid VM Memory Reclamation for Serverless FunctionsOrestis Lagkas Nikolos, Chloe Alverti, Stratos Psomadakis, Georgios I. Goumas 等EuroSys 2026
  5. MDK: Rethinking the Data Center Memory Reclamation ProblemShaurya Patel, Suli Yang, Yawen Wang, Kan Wu 等OSDI 2026

它引用的 Paper14

  1. AIFM: High-Performance, Application-Integrated Far MemoryZhenyuan Ruan, Malte Schwarzkopf, Marcos K. Aguilera, Adam BelayOSDI 2020 · 224 次引用
  2. Can far memory improve job throughput?Emmanuel Amaro, Christopher Branner-Augmon, Zhihong Luo, Amy Ousterhout 等EuroSys 2020 · 163 次引用
  3. The CacheLib Caching Engine: Design and Experiences at ScaleBenjamin Berg, Daniel S. Berger, Sara McAllister, Isaac Grosof 等OSDI 2020 · 145 次引用
  4. Providing SLOs for Resource-Harvesting VMs in Cloud PlatformsPradeep Ambati, Iñigo Goiri, Felipe Vieira Frujeri, Alper Gun 等OSDI 2020 · 101 次引用
  5. TCP ≈ RDMA: CPU-efficient Remote Storage Access with i10Jaehyun Hwang, Qizhe Cai, Ao Tang, Rachit AgarwalNSDI 2020 · 70 次引用

相关 Paper

  1. Jiffy: elastic far-memory for stateful serverless analyticsAnurag Khandelwal, Yupeng Tang, Rachit Agarwal, Aditya Akella 等EuroSys 2022 · 47 次引用
  2. M3: end-to-end memory management in elastic system software stacksDavid Lion, Adrian Chiu, Ding YuanEuroSys 2021 · 3 次引用
  3. Redy: Remote Dynamic Memory CacheQizhen Zhang, Philip A. Bernstein, Daniel S. Berger, Badrish ChandramouliVLDB 2022 · 32 次引用
  4. Rethinking software runtimes for disaggregated memoryIrina Calciu, M. Talha Imran, Ivan Puddu, Sanidhya Kashyap 等ASPLOS 2021 · 116 次引用
  5. Memory deduplication for serverless computing with MedesDivyanshu Saxena, Tao Ji, Arjun Singhvi, Junaid Khalid 等EuroSys 2022 · 54 次引用
黄昏的海面,两侧是细线勾勒的悬崖