Skip to content

Commit

Permalink
scripts/rsync-generation/mksnapshot: increase zstd compression level
Browse files Browse the repository at this point in the history
Using -9 we end up at 58MB, which is more than gzip2's 57MB.  So up the
level to -19 (the max, basically like how we configure the other
compressors too) to get 52MB, which is still much more than xz (48MB)
and lzip (47MB).

Signed-off-by: Fabian Groffen <[email protected]>
  • Loading branch information
grobian committed Mar 31, 2024
1 parent 34687be commit bd139cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rsync-generation/mksnapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ COMPRS=(
"bz2:bzip2 -c -9"
"xz:xz -c -9"
"lz:lzip -c -9"
"zst:zstd -c -k -f -9"
"zst:zstd -c -19"
)

# produce compressed variants, use as much cpu as left on the system, do
Expand Down

0 comments on commit bd139cb

Please sign in to comment.