Same Function, Different CPU: Quantifying Hardware Heterogeneity in Commercial FaaS Platforms
Jonas Heisterberg, Natalie Carl, Trever Schirmer, David Bermbach
Key points
From the paper's conclusion- We observe that the CPU composition on AWS Lambda shifts within a single week.
Abstract
Serverless computing, particularly Function-as-a-Service (FaaS), abstracts operational concerns such as scaling, scheduling, and resource management from users. This abstraction, however, conceals a heterogeneous hardware fleet on which function execution environments are scheduled behind a unified function interface. Consequently, otherwise identical invocations may run on different CPU types that differ in performance, a hardware lottery that users can neither see nor control. Since the resulting variability is entangled with other sources, such as noisy neighbors or diurnal effects, its contribution to overall performance variability and how this contribution differs across providers remain unclear. In this paper, we systematically study hardware heterogeneity and its impact on function performance across four widely used commercial FaaS platforms, covering regional, configurational, and temporal differences. Using variance decomposition, we find that CPU heterogeneity alone explains 4 % to 97 % of the performance variance on AWS Lambda and Google Cloud Run Functions. On Azure Functions, in contrast, we identify a platform-level mechanism that produces bimodal execution durations and overshadows CPU effects. We observe that the CPU composition on AWS Lambda shifts within a single week. Additionally, we reveal that on Google Cloud Run Functions and Alibaba Function Compute, the availability of instruction set extensions such as SHA-NI differs between CPU types, widening the performance gap further. Since all platforms bill by duration, performance gaps between CPU types translate directly into cost, with invocations on the slowest CPU type costing up to three times as much as those on the fastest.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Characterizing Serverless Workloads: A Large-Scale Analysis of Function-as-a-Service PlatformsarXiv · 2026
- Characterizing FaaS Workflows on Public Clouds: The Good, the Bad and the UglyIEEE Transactions on Parallel and Distributed Systems · 2026
- A Unified Queueing-Based Framework for Comparative Evaluation of Serverless Autoscaling Strategies under Bursty WorkloadsarXiv · 2026
- Cold Start Latency Optimization Strategies for Function as a Service PlatformsJisuanji shenghuojia. · 2026
- HyFaaS: Accelerating Serverless Workflows by Unleashing Hybrid Resource ElasticityIEEE Transactions on Parallel and Distributed Systems · 2025
- Energy-Proportional Serverless Computing on SBC ClustersarXiv · 2026