Memory deduplication for serverless computing with Medes
Divyanshu Saxena, Tao Ji, Arjun Singhvi, Junaid Khalid, Aditya Akella
摘要
Serverless platforms today impose rigid trade-offs between resource use and user-perceived performance. Limited controls, provided via toggling sandboxes between warm and cold states and keep-alives, force operators to sacrifice significant resources to achieve good performance. We present a serverless framework, Medes, that breaks the rigid trade-off and allows operators to navigate the trade-off space smoothly. Medes leverages the fact that the warm sandboxes running on serverless platforms have a high fraction of duplication in their memory footprints. We exploit these redundant chunks to develop a new sandbox state, called a dedup state, that is more memory-efficient than the warm state and faster to restore from than the cold state. We develop novel mechanisms to identify memory redundancy at minimal overhead while ensuring that the dedup containers' memory footprint is small. Finally, we develop a simple sandbox management policy that exposes a narrow, intuitive interface for operators to trade-off performance for memory by jointly controlling warm and dedup sandboxes. Detailed experiments with a prototype using real-world serverless workloads demonstrate that Medes can provide up to 1×-2.75× improvements in the end-to-end latencies. The benefits of Medes are enhanced in memory pressure situations, where Medes can provide up to 3.8× improvements in end-to-end latencies. Medes achieves this by reducing the number of cold starts incurred by 10--50% against the state-of-the-art baselines.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- SEVeriFast: Minimizing the root of trust for fast startup of SEV microVMs 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- SEVeriFast: Minimizing the root of trust for fast startup of SEV microVMs 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and Sharing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and Sharing 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and Sharing 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and Sharing 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- 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 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Serialization/Deserialization-free State Transfer in Serverless Workflows 引用了 Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- Serialization/Deserialization-free State Transfer in Serverless Workflows 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Serialization/Deserialization-free State Transfer in Serverless Workflows 引用了 No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- BlitzScale: Fast and Live Large Model Autoscaling with O(1) Host Caching 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- BlitzScale: Fast and Live Large Model Autoscaling with O(1) Host Caching 引用了 No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing
引用它的顶会 Paper17
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless ComputingXingda Wei, Fangming Lu, Tianxia Wang, Jinyu Gu 等OSDI 2023 · 78 次引用
- RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and SharingHanfei Yu, Rohan Basu Roy, Christian Fontenot, Devesh Tiwari 等ASPLOS 2024 · 69 次引用
- Serialization/Deserialization-free State Transfer in Serverless WorkflowsFangming Lu, Xingda Wei, Zhuobin Huang, Rong Chen 等EuroSys 2024 · 31 次引用
- BlitzScale: Fast and Live Large Model Autoscaling with O(1) Host CachingDingyan Zhang, Haotian Wang, Yang Liu, Xingda Wei 等OSDI 2025 · 29 次引用
- SEVeriFast: Minimizing the root of trust for fast startup of SEV microVMsBenjamin Holmes, Jason Waterman, Dan WilliamsASPLOS 2024 · 14 次引用
它引用的 Paper7
- 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 次引用
- Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 280 次引用
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 次引用
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori 等NSDI 2020 · 197 次引用
相关 Paper
- MXFaaS: Resource Sharing in Serverless Environments for Parallelism and EfficiencyJovan Stojkovic, Tianyin Xu, Hubertus Franke, Josep TorrellasISCA 2023 · 39 次引用
- Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang 等ASPLOS 2025 · 7 次引用
- A Secure, Fast, and Resource-Efficient Serverless Platform with Function REWINDJaehyun Song, Bumsuk Kim, Minwoo Kwak, Byoungyoung Lee 等USENIX ATC 2024 · 5 次引用
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and NodesJialiang Huang, Mingxing Zhang, Teng Ma, Zheng Liu 等SOSP 2024 · 14 次引用
- Lukewarm serverless functions: characterization and optimizationDavid Schall, Artemiy Margaritov, Dmitrii Ustiugov, Andreas Sandberg 等ISCA 2022 · 36 次引用
