Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Modal details the fast filesystem stack behind its VM Sandboxes

AI summary

Modal published a technical post on how it evolved the filesystem stack underpinning its VM Sandboxes. Its first approach routed guest VMs through virtio-fs on top of ImageFS, inheriting lazy loading and sub-second cold starts but making metadata operations very slow: a recursive chown went from four seconds to over a minute, pnpm install and bun install ran about three times slower, and ripgrep performance dropped sharply. Modal then moved to virtio-blk with ext4 inside the guest plus a new host daemon, ImageFS-blk, which writes ext4 metadata itself and serves blocks on demand; the post says a chown fell from about 99 microseconds over virtio-fs to about 2.1 microseconds.

In-depth insight

Filesystem read/write and metadata performance directly shapes the efficiency of large-scale agent sessions and GPU workloads.

ModalVM SandboxesImageFS

Original · 11 min readRead the original
Group chat

No comments yet. Start the conversation.