Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use zstd:chunked when pushing images #2

Open
samhclark opened this issue Sep 14, 2024 · 1 comment
Open

Use zstd:chunked when pushing images #2

samhclark opened this issue Sep 14, 2024 · 1 comment

Comments

@samhclark
Copy link
Owner

When publishing the images, Buildah can compress the image with zstd:chunked. Eventually, with support from bootc, this could make pulling updates a lil faster.

I ran into problems when pushing zstd:chunked images to a tag that had already been published. Not sure if that's a thing where it's hard to convert them, but I didn't mess around with it much.

The commit that reverted zstd:chunked is here
017dbc5

@samhclark
Copy link
Owner Author

samhclark commented Oct 1, 2024

Got a working branch on try-zstd-chunked-again (most recent commit 800cf2d). The downside is that rpm-ostree upgrade is horribly slow after this. 4 minutes, 58 seconds. (Compared to 1min,52sec gzip)

There are some existing GitHub issues about that, so maybe hold up on doing this here until that gets worked out, or it becomes the default.

There's a work tracker here containers/image#2189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant