Lune

SOSP2024Top-tier venue

TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes

Jialiang Huang, Mingxing Zhang, Teng Ma, Zheng Liu, Sixing Lin, Kang Chen, Jinlei Jiang, Xia Liao, Yingdi Shan, Ning Zhang, Mengting Lu, Tao Ma

Abstract

Serverless computing is renowned for its computation elasticity, yet its full potential is often constrained by the requirement for functions to operate within local and dedicated background environments, resulting in limited memory elasticity. To address this limitation, this paper introduces TrEnv, a co-designed integration of the serverless platform with the operating system and CXL/RDMA-based remote memory pools in two key areas. Firstly, TrEnv introduces repurposable sandboxes, which can be shared across different functions and hence, substantially decrease the overhead associated with creating isolation sandboxes. Secondly, it augments the OS with "memory templates" that enable rapid restoration of function states stored on remote memory. These innovations allow TrEnv to facilitate rapid transitions between instances of different functions and enable memory sharing across multiple nodes. Our evaluations using a variety of representative and real-world workloads demonstrate that TrEnv can initiate a container within 10 milliseconds, achieving up to a 7× speedup in P99 end-to-end latency and reducing memory usage by 48% on average compared to state-of-the-art on-demand restoring systems.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Tigon: A Distributed Database for a CXL Pod cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • Tigon: A Distributed Database for a CXL Pod cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • Pond: CXL-Based Memory Pooling Systems for Cloud Platforms cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod cites Tigon: A Distributed Database for a CXL Pod
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • Cxlalloc: Safe and Efficient Memory Allocation for a CXL Pod cites CXLfork: Fast Remote Fork over CXL Fabrics
  • Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • CXLfork: Fast Remote Fork over CXL Fabrics cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • CXLfork: Fast Remote Fork over CXL Fabrics cites Pond: CXL-Based Memory Pooling Systems for Cloud Platforms
  • CXLfork: Fast Remote Fork over CXL Fabrics cites TPP: Transparent Page Placement for CXL-Enabled Tiered-Memory
  • CXLfork: Fast Remote Fork over CXL Fabrics cites 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 cites 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 cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. BlitzScale: Fast and Live Large Model Autoscaling with O(1) Host CachingDingyan Zhang, Haotian Wang, Yang Liu, Xingda Wei et al.OSDI 2025 · 29 citations
  2. CXLfork: Fast Remote Fork over CXL FabricsChloe Alverti, Stratos Psomadakis, Burak Ocalan, Shashwat Jaiswal et al.ASPLOS 2025 · 14 citations
  3. Tigon: A Distributed Database for a CXL PodYibo Huang, Haowei Chen, Newton Ni, Yan Sun et al.OSDI 2025 · 12 citations
  4. Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless SystemsXiaohu Chai, Tianyu Zhou, Keyang Hu, Jianfeng Tan et al.OSDI 2025 · 7 citations
  5. Cxlalloc: Safe and Efficient Memory Allocation for a CXL PodNewton Ni, Yan Sun, Zhiting Zhu, Emmett WitchelASPLOS 2026 · 2 citations

Builds on28

  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 et al.USENIX ATC 2020 · 946 citations
  2. Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 citations
  3. Pond: CXL-Based Memory Pooling Systems for Cloud PlatformsHuaicheng Li, Daniel S. Berger, Lisa Hsu, Daniel Ernst et al.ASPLOS 2023 · 328 citations
  4. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
  5. TPP: Transparent Page Placement for CXL-Enabled Tiered-MemoryHasan Al Maruf, Hao Wang, Abhishek Dhanotia, Johannes Weiner et al.ASPLOS 2023 · 255 citations

Related papers

  1. No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless ComputingXingda Wei, Fangming Lu, Tianxia Wang, Jinyu Gu et al.OSDI 2023 · 78 citations
  2. A Secure, Fast, and Resource-Efficient Serverless Platform with Function REWINDJaehyun Song, Bumsuk Kim, Minwoo Kwak, Byoungyoung Lee et al.USENIX ATC 2024 · 5 citations
  3. StreamBox: A Lightweight GPU SandBox for Serverless Inference WorkflowHao Wu, Yue Yu, Junxiao Deng, Shadi Ibrahim et al.USENIX ATC 2024 · 21 citations
  4. Memory deduplication for serverless computing with MedesDivyanshu Saxena, Tao Ji, Arjun Singhvi, Junaid Khalid et al.EuroSys 2022 · 54 citations
  5. Serialization/Deserialization-free State Transfer in Serverless WorkflowsFangming Lu, Xingda Wei, Zhuobin Huang, Rong Chen et al.EuroSys 2024 · 31 citations
Dusk over the sea between two cliffs drawn in fine vertical lines