Skip to content

[Request]: Faster bind mounts for metadata-heavy work (npm ci, git status) #2538

Open

Description

@SVilgelm

Feature or enhancement request details

Bind mounts are 2–4× slower than OrbStack's for metadata-heavy work. The same commands in the container rootfs are close to OrbStack, so the gap is in the bind mount (virtiofs), not the disk (#882 covered block devices).

M5 Max M4 Pro M1
npm ci (11,060 files) into a bind mount 4.31 s (OrbStack 1.76 s) 4.54 s (1.92 s) 6.46 s (3.01 s)
same, into the container rootfs 1.31 s (1.04 s) 1.32 s (1.14 s) 1.83 s (1.69 s)
git status on kubernetes (32k files) in a bind mount 899 ms (234 ms) 1,040 ms (248 ms) 1,506 ms (344 ms)
same, natively on the host 143 ms 176 ms 209 ms

Medians of 3–5 runs. container 1.7.1 (a15b460), OrbStack 2.2.5 on the same Macs, macOS 27.2.1. Workflows that bind-mount the source tree (dev containers, node_modules, monorepos) pay this on every command.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions