From bd139cb929506a78bc3eab87e2e24a8e38b3032f Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 31 Mar 2024 10:43:50 +0200 Subject: scripts/rsync-generation/mksnapshot: increase zstd compression level 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 --- scripts/rsync-generation/mksnapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rsync-generation/mksnapshot.sh b/scripts/rsync-generation/mksnapshot.sh index 3accd67637..66ad8a91ed 100755 --- a/scripts/rsync-generation/mksnapshot.sh +++ b/scripts/rsync-generation/mksnapshot.sh @@ -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 -- cgit v1.2.3-65-gdbad