MXFaaS: Resource Sharing in Serverless Environments for Parallelism and Efficiency
Jovan Stojkovic, Tianyin Xu, Hubertus Franke, Josep Torrellas
摘要
Although serverless computing is a popular paradigm, current serverless environments have high overheads. Recently, it has been shown that serverless workloads frequently exhibit bursts of invocations of the same function. Such pattern is not handled well in current platforms. Supporting it efficiently can speed-up serverless execution substantially.
In this paper, we target this dominant pattern with a new serverless platform design named MXFaaS. MXFaaS improves function performance by efficiently multiplexing (i.e., sharing) processor cycles, I/O bandwidth, and memory/processor state between concurrently executing invocations of the same function. MXFaaS introduces a new container abstraction called MXContainer. To enable efficient use of processor cycles, an MXContainer carefully helps schedule same-function invocations for minimal response time. To enable efficient use of I/O bandwidth, an MXContainer coalesces remote storage accesses and remote function calls from same-function invocations. Finally, to enable efficient use of memory/processor state, an MXContainer first initializes the state of its container and only later, on demand, spawns a process per function invocation, so that all invocations can share unmodified memory state and hence minimize memory footprint.
We implement MXFaaS in two serverless platforms and run diverse serverless benchmarks. With MXFaaS, serverless environments are much more efficient. Compared to a state-of-the-art serverless environment, MXFaaS on average speeds-up execution by 5.2×, reduces P99 tail latency by 7.4×, and improves throughput by 4.8×. In addition, it reduces the average memory usage by 3.4×.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- EcoFaaS: Rethinking the Design of Serverless Environments for Energy Efficiency 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- EcoFaaS: Rethinking the Design of Serverless Environments for Energy Efficiency 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- EcoFaaS: Rethinking the Design of Serverless Environments for Energy Efficiency 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- EcoFaaS: Rethinking the Design of Serverless Environments for Energy Efficiency 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- SmartOClock: Workload- and Risk-Aware Overclocking in the Cloud 引用了 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 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- 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
- CXLfork: Fast Remote Fork over CXL Fabrics 引用了 TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes
- INFaaS: Automated Model-less Inference Serving 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
引用它的顶会 Paper14
- EcoFaaS: Rethinking the Design of Serverless Environments for Energy EfficiencyJovan Stojkovic, Nikoleta Iliakopoulou, Tianyin Xu, Hubertus Franke 等ISCA 2024 · 29 次引用
- TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and NodesJialiang Huang, Mingxing Zhang, Teng Ma, Zheng Liu 等SOSP 2024 · 14 次引用
- CXLfork: Fast Remote Fork over CXL FabricsChloe Alverti, Stratos Psomadakis, Burak Ocalan, Shashwat Jaiswal 等ASPLOS 2025 · 14 次引用
- SmartOClock: Workload- and Risk-Aware Overclocking in the CloudJovan Stojkovic, Pulkit A. Misra, Íñigo Goiri, Sam Whitlock 等ISCA 2024 · 12 次引用
- SkeletonHunter: Diagnosing and Localizing Network Failures in Containerized Large Model TrainingWei Liu, Kun Qian, Zhenhua Li, Tianyin Xu 等SIGCOMM 2025 · 8 次引用
它引用的 Paper21
- 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 次引用
- Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 次引用
- INFaaS: Automated Model-less Inference ServingFrancisco Romero, Qian Li, Neeraja J. Yadwadkar, Christos KozyrakisUSENIX ATC 2021 · 325 次引用
- 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 次引用
相关 Paper
- Memory deduplication for serverless computing with MedesDivyanshu Saxena, Tao Ji, Arjun Singhvi, Junaid Khalid 等EuroSys 2022 · 54 次引用
- Memento: Architectural Support for Ephemeral Memory Management in Serverless EnvironmentsZiqi Wang, Kaiyang Zhao, Pei Li, Andrew Jacob 等MICRO 2023 · 7 次引用
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 13 次引用
- Rethinking Deployment for Serverless Functions: A Performance-First PerspectiveYiming Li, Laiping Zhao, Yanan Yang, Wenyu QuSC 2023 · 7 次引用
- Mosaic: Harnessing the Micro-Architectural Resources of Servers in Serverless EnvironmentsJovan Stojkovic, Esha Choukse, Enrique Saurez, Íñigo Goiri 等MICRO 2024 · 6 次引用
