Research & Benchmarks

Firecracker snapshot restore on SSD

Scheduler wake timing from 100 sequential snapshot restores on one SSD-backed node.

Gregale EngineeringPublished Measured

Results

The scheduler recorded 100 distinct snapshot restores. The platform wake interval had a p95 of 137.756 ms.

Interval (ms)MinMeanp50p90p95p99Max
Platform wake73.09499.01194.795131.502137.756148.229149.067

Zero platform samples reached the run’s 350 ms acceptance threshold. All three required artifacts were cache hits for every wake. The scheduler recorded zero concurrent wakes and zero queued requests at admission.

Test environment

ComponentConfiguration
Gregale releasev0.1.18-rc.94, commit 86968d3d8d39670cc553f397358b70938bed49bc
ComputeOne compute node. Reference inventory lists 4 vCPUs and 16 GiB RAM.
Artifact storageSSD, recorded as pd-ssd in the run archive
WorkloadGo 1.24 Alpine HTTP fixture, 256 MiB, a single allowed instance
Idle timeout10 seconds, using the normal idle reaper

Methodology

Each cycle sent one request after the idle reaper parked the only running instance. The platform wake interval is the elapsed time between the scheduler’s wake.boot_started and wake.boot_completed events for the same wake ID. All 100 matched timelines recorded snapshot restores. The distribution uses nearest-rank percentiles.

Data and reproduction

Download the CSV and script into the same directory and run the command below. It uses the Python standard library and prints the statistics in the report. The CSV gives both scheduler timestamps as microsecond offsets from the first recorded wake, along with the restore method and admission conditions for each sample.

sh
python3 analyze.py samples.csv

For a fresh run, use an instrumented test deployment with the same workload, memory, instance limit, idle timeout, and storage class. Verify that the instance parks between requests and that each timeline records a restore on the selected host. Use the same scheduler events and percentile method.

Limits

This historical acceptance run covers the scheduler wake interval for one Gregale release on one SSD node, with warm artifact caches and sequential traffic. Concurrent wakes, cache misses, fresh boots, and current production performance require separate measurements. See the current scale-to-zero documentation for the platform target and measurement boundaries.