From b320d096a44b592d5f5bcda37e323b799c0cef57 Mon Sep 17 00:00:00 2001 From: "@RubenKelevra" Date: Sun, 7 Jul 2024 19:43:49 +0200 Subject: [PATCH] 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. --- programs/zstd.1.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.47.2