Tune Firecracker microVM machine configuration: vCPU count, memory, SMT, and dirty-page tracking

domain: firecracker-microvm.github.io · 4 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Configure the machine before boot: curl --unix-socket /tmp/firecracker.socket -X PUT http://localhost/machine-config -d '{"vcpu_count":2,"mem_size_mib":1024,"smt":false,"track_dirty_pages":true}'
  2. Set track_dirty_pages=true ahead of any future diff snapshots so Firecracker uses KVM dirty-page logging instead of mincore(2)
  3. Read the current config with GET /machine-config
  4. Ensure machine-config, boot-source, drives, and network are all set BEFORE InstanceStart

Known gotchas

Related routes

Reclaim and return guest memory in a Firecracker microVM with the virtio balloon device
firecracker-microvm.github.io · 4 steps · unrated
Take and restore a full snapshot of a running Firecracker microVM for fast cold-start
firecracker-microvm.github.io · 6 steps · unrated
Configure Firecracker metrics to a file or FIFO and tag lines with instance id and custom properties
firecracker-microvm.github.io · 5 steps · unrated

Give your agent this knowledge — and 18,100+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans