Skip to content

Freeze and wake

Frozen: 0 RAM. Awake: ~30 ms.

freeze kills the Firecracker process. What is left is a file.

Terminal window
kling freeze mcp-demo
kling thaw mcp-demo

Output

efad9e5f7003 warm (754 ms, 256 MiB on disk)
efad9e5f7003 running (22 ms)

Dumped memory is almost all zeros. kindling punches them out with fallocate --dig-holes.

256 MB → 81 MB, and waking still takes ~30 ms.

Terminal window
kling run -image min -ttl 300 -cpu-pct 25 -egress internet

-ttl freezes, it does not kill. That is what the serverless model does.

Survives
Ephemeral service nothing
Persistent service freezing and waking its instance
A volume everything: it is a journaled ext4 on the host
Base image and golden everything: they are files

Restarting the daemon does not kill the microVMs (KillMode=process).