diff --git a/README.md b/README.md index c51601d..fbfd9bd 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,25 @@ environment: DOCKER_TMPFS_SIZE: 5G ``` +## Performance (local test) + +Short microbenchmarks with the disk-backed dind setup (`--no-overlay`, Docker +29.9.3, overlay2). The gVisor column used the same gVisor runtime flags as +`runsc-docker`; the host used for testing only exposes an inner gVisor runtime, +so this is an approximation of the target host. + +| Workload | dind under runc | dind under gVisor | +| --- | ---: | ---: | +| 2 GiB write | 2.7 GB/s | 2.4 GB/s | +| 2 GiB read | 18.2 GB/s | 13.6 GB/s | +| 2 GiB memory touch | 1.51 s | 1.94 s | +| BusyBox awk 10M loop | 5.22 s | 5.23 s | + +Storage was the full disk-backed volume, not a 5 GiB tmpfs. Nested image builds +and outbound networking worked in both runs. + +These are short microbenchmarks; benchmark actual CI images for planning. + ## Networking details - `dind` has no published Docker API port.