Skip to content
Book Open access

Speeding up FaaS Warm Starts with Memory Restoration Templates

Sep 2026 · Proceedings of the 4th Workshop on Disruptive Memory Systems · 0 citations · 4 references

TL;DR

MRT generates memory restoration templates from the learned sequence of pages that incur page faults during a warm start and uses them to bulk-restore pages using Intel's In-Memory Analytics Accelerator (IAA), avoiding costly on-demand faults.

Abstract

Function-as-a-Service (FaaS) is a cloud-native model where small pieces of application logic execute as isolated functions within virtual machines (VMs). Cloud Service Providers (CSPs) aim to maximize the number of VMs per system. However, idle VMs, i.e., VMs without active functions, continue to consume memory, limiting overall VM density. Rather than using prior disk-based snapshotting solutions to reduce memory usage, we propose to place the pages of an idle VM in a compressed memory pool. Doing so, however, incurs high execution latency upon new invocations due to page decompression during on-demand page faults. To address this, we propose MRT. MRT generates memory restoration templates from the learned sequence of pages that incur page faults during a warm start and uses them to bulk-restore pages using Intel's In-Memory Analytics Accelerator (IAA), avoiding costly on-demand faults. MRT lowers single-instance function execution latency from 2.63× to 1.62× relative to a hot start, eliminating 62% of the overhead that on-demand page-fault-based restoration adds over a hot start. MRT further reduces the memory footprint of an idle FaaS VM instance by 57% (geometric mean) by placing its pages in the compressed memory pool, allowing CSPs to host more active VMs per system. At scale, MRT reduces 95th- and 99th-percentile function execution latency by 70% and 58%, respectively, relative to on-demand IAA decompression.

Read PDF

Similar papers

Book Open access Sep 2026

You Can Always Get What You Want: CPU Virtualization Made Fast and Free

Dedicated VMs provide near bare-metal performance through CPU pinning, interrupt passthrough, and idle passthrough. In conventional deployments, however, these optimizations lock physical cores to individual VMs and prevent CPU sharing. In one of the world's largest cloud platforms, 74% of Dedicated VMs average below 1...

Yun Wang, Xing-Guo Jia, Ben Luo et al. · 0 citations
Preprint Sep 2026

Fast Recovery for LLM Serving via Decoupled Device Memory Lifetime in Dynamo

This work argues that the dominant cost is loss of ready serving capacity, not request progress, so recovery should preserve initialized engine state rather than reconstruct it, and presents fast recovery for Dynamo based on this principle.

Schwinn Saereesitthipitak, Mohammed H. Abdulwahhab, Hannah Zhang et al. · 0 citations
Preprint Aug 2026

Offering Microsecond-Scale Cross-VM Core Elasticity on Colocated Lightweight Virtual Machines

HyperFlux is presented, a commodity-KVM ultralight VM substrate that makes a VM's parallelism width (the number of physical cores backing it) elastic at runtime, and it is shown that HyperFlux can move a core across VMs in merely 13$\mu$s, even when forcibly reclaiming it from a busy donor, orders of magnitude faster t...

Yi-Bo Yan, Seo Jin Park · 1 citation

HostPIMSim: A High-Productivity Framework for Host-Side Processing-in-Memory Simulation

Results show that standardizing the host-interface layer reduces both the engineering cost of PIM simulator development and the energy overhead of simulation-driven workload evaluation, while reducing host CPU utilization and package energy by up to 50% on transfer-intensive workloads.

Jinyong Min, Bernhard Egger · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.