Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-arch/zstd: multithreaded compression by default
Integration of Clear Linux's 'multi-thread-default.patch' By default, zstd uses one core for compression. This patch makes zstd use all physical cores detected for compression, increasing performance and reducing compression time. Below's results are from using zstd's built-in benchmark, showing a decrease of 78.13% in compression time with -T0. Default (-T1) 19#linux-5.8.tar : 983869440 -> 121381009 (8.106), 4.05 MB/s ,1771.3 MB/s zstd -T1 -b19 -i0 --priority=rt linux-5.8.tar 244.99s user 0.46s system 99% cpu 4:05.47 total Patched default (-T0) 19#linux-5.8.tar : 983869440 -> 121384544 (8.105), 19.2 MB/s ,1756.7 MB/s zstd -T0 -b19 -i0 --priority=rt linux-5.8.tar 297.19s user 0.63s system 554% cpu 53.692 total Source: https://github.com/clearlinux-pkgs/zstd/blob/1.4.5-60/multi-thread-default.patch References: InBetweenNames#164
- Loading branch information