Modal explains ImageFS, the lazy-loaded filesystem behind sub-second cold starts
josh_wills · x · 2026-10-17
Modal engineer Amit Patel details the secret to Modal's speed: a custom lazily loaded container filesystem, ImageFS, built on a massive tiered distributed filesystem layering local NVMe disks, regional and p2p caches, and global blob stores.
- With this month's VM Sandboxes launch, the team wanted VMs to get the same ImageFS benefits as its gVisor containers without sacrificing sub-second cold starts.
- They built a new filesystem stack that tricks a VM's ext4 driver into thinking it's talking to a normal disk.
- Modal's blog post covers the engineering challenges and decisions behind the design.
More from Infra
- Running torch nightly with CUDA 13.5 on 8x V100 via volta-forever, agent-driven setup — QuixiAI · 2026-12-02
- DeepSeek's Claimed 83.4% Ascend 950DT Margin Debunked: Losing ¥36.6/Hour at 60% Utilization — teortaxesTex · 2026-12-02
- One number = +27%: raising MLX's 20-op CUDA graph cap on DGX Spark boosts Qwen3 to 430 tok/s — AIFlow_ML · 2026-12-02
- Polymarket: Jensen Huang admits under oath Nvidia AI chips were diverted to China — Polymarket · 2026-12-02
- China pours billions into optical chips for AI data centers despite US curbs threat — pstAsiatech · 2026-12-02
- 2.5-bit quantization runs a 35B MoE with 1M context in ~13.4 GiB on a 16GB MacBook — MatMuloi9128 · 2026-12-02