From: @RubenKelevra Date: Sun, 7 Jul 2024 17:43:49 +0000 (+0200) Subject: clarify when to use '--single-thread' with '--patch-from' X-Git-Tag: v1.5.7^2~101^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4094%2Fhead;p=thirdparty%2Fzstd.git clarify when to use '--single-thread' with '--patch-from' Using '--single-thread' with '--patch-from' on compression levels above 15 will lead to significantly worse compression ratios. Corrected the man page not suggest anymore to do this. --- diff --git a/programs/zstd.1.md b/programs/zstd.1.md index fcbfb4573..5188be6a5 100644 --- a/programs/zstd.1.md +++ b/programs/zstd.1.md @@ -174,8 +174,10 @@ the last one takes effect. (_fileLog_ being the _windowLog_ required to cover the whole file). You can also manually force it. - Note: for all levels, you can use `--patch-from` in `--single-thread` mode - to improve compression ratio at the cost of speed. + Note: up to level 15, you can use `--patch-from` in `--single-thread` mode + to improve compression ratio marginally at the cost of speed. Using + '--single-thread' above level 15 will lead to lower compression + ratios. Note: for level 19, you can get increased compression ratio at the cost of speed by specifying `--zstd=targetLength=` to be something large