Its initial implementation exposed ImageFS to guests through virtio-fs. In a microbenchmark of 100,000 operations, Modal measured chown at 9.87 seconds over virtio-fs, compared with 2.31 seconds under gVisor and 1.58 seconds with ImageFS directly. The post also says recursive chown rose from four seconds to more than a minute, while pnpm and bun installs were about three times slower.
Modal’s alternative puts ext4 and filesystem metadata inside the guest and uses virtio-blk to carry blocks to the host. The company reports a chown taking about 2.1 microseconds inside guest ext4, versus about 99 microseconds over virtio-fs. ext4 journals changes and sends them in asynchronous batches, reducing per-operation trips across the VM boundary. These are Modal’s own measurements and describe its implementation; the post does not establish a general benchmark across VM providers.