You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4bd7990488
zstd with its default settings (compression level -3) compresses better than bzip2 -9 (which is the default setting), and is an order of magnitude faster. I made the following measurements for the most common compression tools (all standard Debian Buster versions, default flags unless noted otherwise), using the debug information of a large x86-64 kernel with ALL_KMODS: * kernel-debug.tar: 376M * kernel-debug.tar.gz: 101M, compressed in ~12s * kernel-debug.tar.bz2: 91M, compressed in ~15s * kernel-debug.tar.xz: 57M, compressed in ~101s * kernel-debug.tar.zst: 86M, compressed in ~1s With zstd, there is still some room for improvement by increasing the compression, but the slight increase in compression ratio (22.83% -> 19.46%) does not justify the significant increase in compression time (about 5 times on my machine) in my opinion. Note that multithreaded compression (-T argument) does not affect reproducibility with zstd. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> |
4 years ago | |
---|---|---|
.. | ||
site | 5 years ago | |
autotools.mk | 5 years ago | |
cmake.mk | 5 years ago | |
debug.mk | 9 years ago | |
depends.mk | 7 years ago | |
device_table.txt | 11 years ago | |
download.mk | 4 years ago | |
feeds.mk | 5 years ago | |
hardened-ld-pie.specs | 6 years ago | |
hardening.mk | 4 years ago | |
host-build.mk | 5 years ago | |
image-commands.mk | 4 years ago | |
image-legacy.mk | 7 years ago | |
image.mk | 4 years ago | |
kernel-build.mk | 4 years ago | |
kernel-defaults.mk | 5 years ago | |
kernel-version.mk | 4 years ago | |
kernel.mk | 4 years ago | |
netfilter.mk | 4 years ago | |
nls.mk | 6 years ago | |
package-bin.mk | 7 years ago | |
package-defaults.mk | 6 years ago | |
package-dumpinfo.mk | 5 years ago | |
package-ipkg.mk | 4 years ago | |
package-seccomp.mk | 9 years ago | |
package.mk | 4 years ago | |
prereq-build.mk | 4 years ago | |
prereq.mk | 5 years ago | |
quilt.mk | 5 years ago | |
rootfs.mk | 5 years ago | |
scan.awk | 9 years ago | |
scan.mk | 5 years ago | |
shell.sh | 8 years ago | |
subdir.mk | 6 years ago | |
target.mk | 4 years ago | |
toolchain-build.mk | 5 years ago | |
toplevel.mk | 4 years ago | |
u-boot.mk | 4 years ago | |
uclibc++.mk | 5 years ago | |
unpack.mk | 4 years ago | |
verbose.mk | 6 years ago | |
version.mk | 5 years ago |