Published July 10, 2025 | Version v1
Publication Open

SnapBPF: Exploiting eBPF for Serverless Snapshot Prefetching

  • 1. ROR icon National Technical University of Athens
  • 1. ROR icon National Technical University of Athens
  • 2. ROR icon Institute of Communication and Computer Systems

Description

In this work, we design SnapBPF, an eBPF-based snapshot prefetching mechanism, targeting VM-sandboxed serverless functions, which enables the efficient capture and prefetching of function working sets in kernel-space. SnapBPF deduplicates function working sets in memory and obviates the need for separately serializing them on disk. We complement SnapBPF with a lightweight paravirtualized interface to efficiently handle VM-sandbox memory allocations without requiring any snapshot pre-processing. Our evaluation shows that SnapBPF is able to match and improve state-ofthe-art performance with regard to i) function invocation latency and ii) memory usage for concurrent function invocations, without separately serializing working sets on disk or requiring any preemptive snapshot scanning.

Files

snapbpf-hotstorage25-preprint.pdf

Files (657.6 kB)

Name Size Download all
md5:48bde8ad73abfb496d0b1556ce14a720
657.6 kB Preview Download

Additional details

Funding

European Commission
AERO - Accelerated EuRopean clOud 101092850