Lune

MICRO2023顶会

Memento: Architectural Support for Ephemeral Memory Management in Serverless Environments

Ziqi Wang, Kaiyang Zhao, Pei Li, Andrew Jacob, Michael Kozuch, Todd C. Mowry, Dimitrios Skarlatos

摘要

Serverless computing is an increasingly attractive paradigm in the cloud due to its ease of use and fine-grained pay-for-what-you-use billing. However, serverless computing poses new challenges to system design due to its short-lived function execution model. Our detailed analysis reveals that memory management is responsible for a major amount of function execution cycles. This is because functions pay the full critical-path costs of memory management in both userspace and the operating system without the opportunity to amortize these costs over their short lifetimes.

To address this problem, we propose Memento, a new hardwarecentric memory management design based upon our insights that memory allocations in serverless functions are typically small, and either quickly freed after allocation or freed when the function exits. Memento alleviates the overheads of serverless memory management by introducing two key mechanisms: (i) a hardware object allocator that performs in-cache memory allocation and free operations based on arenas, and (ii) a hardware page allocator that manages a small pool of physical pages used to replenish arenas of the object allocator. Together these mechanisms alleviate memory management overheads and bypass costly userspace and kernel operations. Memento naturally integrates with existing software stacks through a set of ISA extensions that enable seamless integration with multiple languages runtimes. Finally, Memento leverages the newly exposed memory allocation semantics in hardware to introduce a main memory bypass mechanism and avoid unnecessary DRAM accesses for newly allocated objects.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation Methodology 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • 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
  • Expeditious High-Concurrency MicroVM SnapStart in Persistent Memory with an Augmented Hypervisor 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Expeditious High-Concurrency MicroVM SnapStart in Persistent Memory with an Augmented Hypervisor 引用了 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
  • CXLfork: Fast Remote Fork over CXL Fabrics 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • CXLfork: Fast Remote Fork over CXL Fabrics 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • INFaaS: Automated Model-less Inference Serving 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. CXLfork: Fast Remote Fork over CXL FabricsChloe Alverti, Stratos Psomadakis, Burak Ocalan, Shashwat Jaiswal 等ASPLOS 2025 · 14 次引用
  2. Virtuoso: Enabling Fast and Accurate Virtual Memory Research via an Imitation-based Operating System Simulation MethodologyKonstantinos Kanellopoulos, Konstantinos Sgouras, F. Nisa Bostanci, Andreas Kosmas Kakolyris 等ASPLOS 2025 · 8 次引用
  3. Expeditious High-Concurrency MicroVM SnapStart in Persistent Memory with an Augmented HypervisorXingguo Pang, Yanze Zhang, Liu Liu, Dazhao Cheng 等USENIX ATC 2024 · 2 次引用
  4. PIM-Malloc: A Fast and Scalable Dynamic Memory Allocator for Processing-In-Memory (PIM) ArchitecturesDongjae Lee, Bongjoon Hyun, Youngjin Kwon, Minsoo RhuHPCA 2026 · 1 次引用

它引用的 Paper19

  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. INFaaS: Automated Model-less Inference ServingFrancisco Romero, Qian Li, Neeraja J. Yadwadkar, Christos KozyrakisUSENIX ATC 2021 · 325 次引用
  4. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 280 次引用
  5. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用

相关 Paper

  1. Squeezy: Rapid VM Memory Reclamation for Serverless FunctionsOrestis Lagkas Nikolos, Chloe Alverti, Stratos Psomadakis, Georgios I. Goumas 等EuroSys 2026
  2. MXFaaS: Resource Sharing in Serverless Environments for Parallelism and EfficiencyJovan Stojkovic, Tianyin Xu, Hubertus Franke, Josep TorrellasISCA 2023 · 39 次引用
  3. Lukewarm serverless functions: characterization and optimizationDavid Schall, Artemiy Margaritov, Dmitrii Ustiugov, Andreas Sandberg 等ISCA 2022 · 36 次引用
  4. Mosaic: Harnessing the Micro-Architectural Resources of Servers in Serverless EnvironmentsJovan Stojkovic, Esha Choukse, Enrique Saurez, Íñigo Goiri 等MICRO 2024 · 6 次引用
  5. Fireworks: a fast, efficient, and safe serverless framework using VM-level post-JIT snapshotWonseok Shin, Wook-Hee Kim, Changwoo MinEuroSys 2022 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖