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

Replace pixz with pigz for faster RAUC bundle creation? #214

Open
yfyf opened this issue Dec 10, 2024 · 0 comments
Open

Replace pixz with pigz for faster RAUC bundle creation? #214

yfyf opened this issue Dec 10, 2024 · 0 comments

Comments

@yfyf
Copy link
Collaborator

yfyf commented Dec 10, 2024

Currently RAUC bundles are compressed using pixz. This takes very long, on my machine:

real    12m9.685s
user    36m54.183s
sys     0m18.055s

The speed-up with pigz is 10x:

real    1m17.513s
user    3m30.048s
sys     0m6.234s

This eliminates the indexing support that pixz provides, but is it used anywhere?

To ensure that nothing breaks, it's best to do this after #200 is merged - this way we can verify that older releases properly handle the differently-compressed RAUC bundles.

We can also be even more adventurous and replace xz (i.e. LZMA) with zstd for broader improvements in space efficiency as well.

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