commit:     bd139cb929506a78bc3eab87e2e24a8e38b3032f
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 31 08:43:50 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Mar 31 08:43:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=bd139cb9

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 <grobian <AT> gentoo.org>

 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

Reply via email to