Skip to main content
QUICK REVIEW

[Paper Review] No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing

Xingda Wei, Fangming Lu|arXiv (Cornell University)|Mar 19, 2022
Cloud Computing and Resource ManagementComputer Science10 citations
TL;DR

Mitosis is a novel OS primitive that enables fast remote container forking in serverless computing by co-designing the kernel with RDMA, achieving sub-millisecond remote container startup and efficient state sharing across machines. It reduces function tail latency by 89% and improves workflow execution by 86% under real-world workloads, outperforming both cold starts and provisioned concurrency with minimal resource usage.

ABSTRACT

Serverless platforms essentially face a tradeoff between container startup time and provisioned concurrency (i.e., cached instances), which is further exaggerated by the frequent need for remote container initialization. This paper presents MITOSIS, an operating system primitive that provides fast remote fork, which exploits a deep codesign of the OS kernel with RDMA. By leveraging the fast remote read capability of RDMA and partial state transfer across serverless containers, MITOSIS bridges the performance gap between local and remote container initialization. MITOSIS is the first to fork over 10,000 new containers from one instance across multiple machines within a second, while allowing the new containers to efficiently transfer the pre-materialized states of the forked one. We have implemented MITOSIS on Linux and integrated it with FN, a popular serverless platform. Under load spikes in real-world serverless workloads, MITOSIS reduces the function tail latency by 89% with orders of magnitude lower memory usage. For serverless workflow that requires state transfer, MITOSIS improves its execution time by 86%.

Motivation & Objective

  • To address the performance bottleneck of remote container initialization in serverless computing, especially during load spikes.
  • To eliminate the high overhead of traditional checkpoint/restore (C/R) techniques for remote forking.
  • To enable efficient, low-latency state sharing between remote functions without relying on message passing or cloud storage.
  • To achieve fast remote forking with minimal resource provisioning, avoiding the cost of provisioned concurrency.
  • To co-design the OS kernel with RDMA to directly access remote physical memory for high-performance remote container creation.

Proposed method

  • Leverages RDMA to directly access remote physical memory via RNICs, bypassing remote OS and CPU for low-latency memory access.
  • Implements a pull-based RDMA multicast pattern where multiple child containers concurrently read from a single parent container’s memory.
  • Uses a lightweight container descriptor to capture only essential metadata for remote instantiation, minimizing communication overhead.
  • Applies copy-on-write semantics during remote memory access to ensure isolation while maintaining performance.
  • Integrates with the Linux kernel and Fn serverless platform to enable end-to-end remote forking and state sharing.
  • Optimizes state transfer by allowing child containers to directly access pre-materialized state from the parent container via RDMA.

Experimental results

Research questions

  • RQ1Can remote forking be made as fast as local forking without relying on provisioned concurrency or C/R techniques?
  • RQ2Can RDMA be effectively co-designed with the OS kernel to enable low-latency, high-throughput remote memory access for container forking?
  • RQ3Can remote forking eliminate the need for expensive state transfer mechanisms like message passing or cloud storage?
  • RQ4How does remote forking via RDMA compare to cold start and provisioned concurrency in terms of latency, resource usage, and scalability?
  • RQ5Can the proposed remote fork primitive be efficiently scaled across multiple machines during load spikes?

Key findings

  • Mitosis achieves remote forking of over 10,000 containers across multiple machines within one second, demonstrating unprecedented scale and speed.
  • Function tail latency is reduced by 89% under real-world serverless workloads compared to traditional cold starts.
  • Memory usage is reduced by orders of magnitude compared to provisioned concurrency, while achieving comparable performance.
  • For serverless workflows requiring state transfer, Mitosis improves execution time by 86% by enabling direct access to pre-materialized states.
  • The system outperforms C/R-based remote forking, which is slower than cold start due to filesystem and checkpointing overheads.
  • The pull-based RDMA multicast pattern enables efficient, scalable remote forking during load spikes, with minimal network and CPU overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.