Modal Blog· Nitin Maddi·· 28 d agoAI score36
Modal explains how it built a fast filesystem stack for VM Sandboxes
Building fast filesystems for VMs
AI summary
Modal detailed how it evolved its filesystem stack to back VM Sandboxes, routing guest requests through virtio-fs and virtiofsd onto its ImageFS lazy-loading filesystem. The first version booted fast but ran slow: recursive chown went from four seconds to over a minute, and pnpm and bun installs were about three times slower. Microbenchmarks showed chown at 9.87 s over virtio-fs versus 2.31 s on gVisor and 1.58 s on ImageFS.
Source:Modal Blog · modal.com