Performance Study of Serverless Workloads in Confidential Virtual Machines
Abstract
Confidential serverless computing is rapidly emerg- ing as a critical paradigm for application domains requiring strong confidentiality guarantees, such as healthcare, finance, and machine learning. To enable this paradigm in untrusted cloud environments, Confidential Virtual Machines (CVMs) provide isolation by encrypting the entire guest memory, and thus securing serverless workloads against host-level access and inter- ference. However, the implications of CVMs for serverless systems remain insufficiently understood. This paper presents an empirical study of serverless work- loads in CVMs, systematically covering memory efficiency and runtime overhead on both warm-starts and cold-starts. Our results show that CVMs incur substantial memory overhead because encrypted memory disables cross-VM page deduplication and reduces memory reclaimability, thereby limiting warm- container capacity under a fixed memory budget. Runtime overhead in warm-starts is workload dependent. Workloads with frequent VMEXITs, particularly idle transitions, suffer substantial slowdowns. These slowdowns are further amplified by common serverless deployment practice that couples vCPU allocation to memory size, as higher-memory configurations expose more vCPUs than some functions can use effectively. For cold starts, the study focuses on container creation, a common and major contributor to startup latency. Motivated by the memory-efficiency results, we consider the deployments in which multiple containers of the same function are consolidated within the same CVM to improve efficiency, and show that selectively relaxing certain isolation mechanisms in this setting can substan- tially reduce startup overhead. These results clarify the main performance tradeoffs of confidential serverless computing and suggest practical ways to improve efficiency and latency.
Create a lesson
Related papers
Benchmarking Confidential Computing Performance on NVIDIA Blackwell GPUs
Shared title terminologycs.DCAmean Asad, Ansgar Grunseid
GPU implementation of a resource-constrained virtual machine
Shared title terminologycs.DCSimone Li, Vladislav Brusokas, Andrei Ghita et al.
Effective Parallel Discrete Event Simulation on NUMA Machines through Ubiquitous Simulation-Object State
Shared title terminologycs.DCFrancesco Quaglia
Dependency-Aware Task Decomposition and Parallel Multi-LLM Execution on Serverless Workflows
Shared title terminologycs.DCJackson Beem, Amine Barrak
Performance Analysis of Distributed Training with Ring AllReduce
Shared title terminologycs.DCFahimeh Fazel, Almut Burchard, Jörg Liebeherr
SmartIntent: A Serverless Edge Intelligence Architecture with Local LLMs for Building Automation
Shared title terminologycs.DCZhenghao Wu, Shaoshu Zhu, Shuyi Sun et al.