Lune

EuroSys2024顶会

Characterization and Reclamation of Frozen Garbage in Managed FaaS Workloads

Ziming Zhao, Mingyu Wu, Haibo Chen, Binyu Zang

摘要

FaaS (function-as-a-service) is becoming a popular workload in cloud environments due to its virtues such as auto-scaling and pay-as-you-go. High-level languages like JavaScript and Java are commonly used in FaaS for programmability, but their managed runtimes complicate memory management in the cloud. This paper first observes the issue of frozen garbage, which is caused by freezing cached function instances where their threads have been paused but the unused memory (e.g., garbage) is not reclaimed due to the semantic gap between FaaS and the managed runtime. This paper presents the first characterization of the negative effects induced by frozen garbage with various functions, which uncovers that it can occupy more than half of FaaS instances' memory resources on average. To this end, this paper proposes Desiccant, a freeze-aware memory manager for managed workloads in FaaS, which reclaims idle memory resources consumed by frozen garbage from managed runtime instances and thus notably improves memory efficiency. The evaluation on various FaaS workloads shows that Desiccant can reduce FaaS functions' peak memory consumption by up to 6.72×. Such saved memory consumption allows caching more FaaS instances to reduce the frequency of cold boots (creating instances before function execution) and p99 latency by up to 4.49× and 37.5%, respectively.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Squeezy: Rapid VM Memory Reclamation for Serverless Functions 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Squeezy: Rapid VM Memory Reclamation for Serverless Functions 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
  • Squeezy: Rapid VM Memory Reclamation for Serverless Functions 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 引用了 SEUSS: skip redundant paths to make serverless fast
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Squeezy: Rapid VM Memory Reclamation for Serverless FunctionsOrestis Lagkas Nikolos, Chloe Alverti, Stratos Psomadakis, Georgios I. Goumas 等EuroSys 2026

它引用的 Paper15

  1. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry 等USENIX ATC 2020 · 946 次引用
  2. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 次引用
  3. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 280 次引用
  4. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
  5. SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong 等EuroSys 2020 · 156 次引用

相关 Paper

  1. OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale 等EuroSys 2021 · 80 次引用
  2. Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang 等ASPLOS 2025 · 7 次引用
  3. Shaving the Peaks: Taming Tail Latency for Managed Workloads via Disaggregated Garbage CollectionHongtao Lyu, Yuhan Li, Mingyu WuOSDI 2026
  4. InfiniStore: Elastic Serverless Cloud StorageJingyuan Zhang, Ao Wang, Xiaolong Ma, Benjamin Carver 等VLDB 2023 · 18 次引用
  5. Single-Address-Space FaaS with JordYuanlong Li, Atri Bhattacharyya, Madhur Kumar, Abhishek Bhattacharjee 等ISCA 2025 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖