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

bin: use highest zstd compression level #278

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Chocimier
Copy link
Member

Files are few percent smaller, decompression is still instant.

@leahneukirchen
Copy link
Member

leahneukirchen commented Apr 30, 2020

I think this can use a lot of memory during compression?

Also, compression takes significantly longer, see https://community.centminmod.com/data/attachment-files/2017/09/5843_compress-test-zstd1.3.1-threaded-1-19-030917.png

@Vaelatern
Copy link
Member

Our largest package files are, I believe, 2 gigabytes (some noarch data pack for some possibly restricted game, maldridge as maintainer). What's the memory consumption when compressing those?

@Chocimier
Copy link
Member Author

zstd 9: 24-180 M
zstd 19: 100-270 M
xz 9 (4 cores): 520-820 M

Measured on flightgear-data, linux5.6-dbg and kicad-packages3D (last is biggest unpacked but highly compressible). details

@ericonr
Copy link
Member

ericonr commented Jun 27, 2021

Level 21 can run out of memory on 32bit machines: facebook/zstd#2711

Idk how close to it 19 can be.

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

Successfully merging this pull request may close these issues.

4 participants