* Soren Stoutner <so...@debian.org> [241125 18:30]: > > > In principle, unshare mode can also work with directories. Helmut is > working > > > on something in that direction. But for me personally, one second of > unpack > > > time is not enough of a motivation for me to put time into > > > directory+overlayfs support. But of course patches welcome! > > > > Yes, one second is not that bad at all. It takes longer than that on > > the porterboxes, and that is my most recent experience, so I was > > thinking of that. Thanks for the timings. > > I haven’t had time to do any analysis myself, but there is some information > posted on https://wiki.debian.org/sbuild: > > >You can use choose the compression algorithm for the tarball by specifying > the extension (.tar.xz, .tar.gz or plain .tar, etc). As of May 2024, ZST > seems > to provide the best size/time ratio. It certainly is the fastest on a Dell > Precision 3800M, 16GB RAM, on an SSD drive (a computer from early 2015): > > > >Format Tarball size Time > > > >.xz ~100MB 179,60s user 7,09s system 75% cpu 4:07,49 total > >.gz ~150MB 38,51s user 6,13s system 83% cpu 53,423 total > >.zst ~139MB 22,68s user 6,28s system 74% cpu 38,868 total
IIRC these times are for tarball creation (incl. downloading and apt). Unpacking is AFAICT a lot faster in many cases. Locally it feels like <1s. Chris