Hi there,
Is there some known performance related to ZFS?
I'm using NixOS with ZFS, and every dagger call takes a long time, on first and subsequent runs:
❯ dagger call container-echo --string-arg foo stdout
✔ connect 0.7s
✔ initialize 0.9s
✔ prepare 0.0s
✔ testDagger: TestDagger! 0.0s
✔ TestDagger.containerEcho(stringArg: "foo"): Container! 8.2s
✔ Container.stdout: String! 0.0s
foo
Checking the trace, all that time is spend in the exec /runtime step
I tried with both the zfs and overlay2 storage drivers in docker but the result is the same (I think overlay2 might be faster, but not by much)
Now, in a VM, with both NixOS and Debian, when not using ZFS I the second call is always in the 0.xs range