Squeezy: Rapid VM Memory Reclamation for Serverless Functions
Orestis Lagkas Nikolos (National Technical University Of Athens), Chloe Alverti (University of Illinois Urbana-Champaign), Stratos Psomadakis (National Technical University Of Athens), Georgios Goumas (National Technical University Of Athens)

TL;DR
Squeezy is a novel Linux-based approach that enables rapid and efficient VM memory hot-unplug for serverless functions, significantly reducing reclamation latency and improving resource elasticity in FaaS environments.
Contribution
The paper introduces Squeezy, a new method for fast VM memory hot-unplug by segregating memory regions, implemented as a Linux extension, improving reclamation speed for serverless computing.
Findings
Squeezy achieves sub-second reclamation of multiple GiBs of memory.
It is an order-of-magnitude faster than existing methods.
Maintains bounded tail latency during memory reclamation.
Abstract
Resource elasticity is one of the key defining characteristics of the Function-as-a-Service (FaaS) serverless computing paradigm. While compute resources assigned to VM-sandboxed functions can be seamlessly adjusted on the fly, memory elasticity remains challenging. Hot(un)plugging memory resources suffers from long reclamation latencies and occupies valuable CPU resources. We identify the obliviousness of the OS memory manager to the hotplugged memory as the key issue hindering hot-unplug performance, and design Squeezy, a novel approach for fast and efficient VM memory hot(un)plug, targeting VM-sandboxed serverless functions. Our key insight is that by segregating hotplugged memory regions from regular VM memory, we are able to bound the lifetime of allocations within these regions thus enabling their fast and efficient reclamation. We implement Squeezy in Linux v6.6 as an extension…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCloud Computing and Resource Management · Advanced Data Storage Technologies · Ferroelectric and Negative Capacitance Devices
