-
|
Neat project, glad to see Apple is providing greater support for container dev. One of the major hurdles with running containers (Docker, podman) or VMs on MacOS is relatively slow disk I/O, primarily with random read/write. How's disk performance and if it's still slow is there a plan for robust passthrough of NVME disks especially over Thunderbolt? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Can you be more specific? Are you referring to disk I/O to the root disk or named volumes (virtioblk mounts)? Or to "bind mounts" (virtiofs mounts)? What sort of "random read/write" workload are you referring to, and what are you comparing the container tools' performance to? Knowing that will help us understand where the gaps might lie. See also this issue recently filed on containerization that shows a more specific comparison of I/O performance (appears to be all for virtioblk devices and not for virtiofs). apple/containerization#729 |
Beta Was this translation helpful? Give feedback.
Apple containers are Linux containers that use a 1:1 container:VM model, as opposed to n:1.
See: https://github.com/apple/container/blob/main/docs/technical-overview.md#how-does-container-run-my-container
You use
container buildto build an OCI image, andcontainer runto run an OCI image.It's not clear what this has a to do with the I/O performance. Whether you run a traditional Linux VM using Parallels, UTM, or some other tool, or you run a Linux container in a Linux VM like
container, if you're…