arXiv Open Access 2024

Squeezy: Rapid VM Memory Reclamation for Serverless Functions

Orestis Lagkas Nikolos Chloe Alverti Stratos Psomadakis Georgios Goumas Nectarios Koziris
Lihat Sumber

Abstrak

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 to the OS memory manager. Our evaluation reveals that Squeezy is an order-of-magnitude faster than state-of-the-art, keeping tail latency bounded, when reclaiming VM memory, achieving sub-second reclamation of multiple GiBs of memory while serving realistic FaaS load.

Topik & Kata Kunci

Penulis (5)

O

Orestis Lagkas Nikolos

C

Chloe Alverti

S

Stratos Psomadakis

G

Georgios Goumas

N

Nectarios Koziris

Format Sitasi

Nikolos, O.L., Alverti, C., Psomadakis, S., Goumas, G., Koziris, N. (2024). Squeezy: Rapid VM Memory Reclamation for Serverless Functions. https://arxiv.org/abs/2411.12893

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓