Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #81756 > unrolled thread
| Started by | Tollef Fog Heen <tfheen@err.no> |
|---|---|
| First post | 2024-02-04 09:20 +0100 |
| Last post | 2024-02-04 09:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.kernel
Bug#1062968: initramfs-tools-core: Use zstdmt instead of zstd by default Tollef Fog Heen <tfheen@err.no> - 2024-02-04 09:20 +0100
| From | Tollef Fog Heen <tfheen@err.no> |
|---|---|
| Date | 2024-02-04 09:20 +0100 |
| Subject | Bug#1062968: initramfs-tools-core: Use zstdmt instead of zstd by default |
| Message-ID | <I3FTj-7MM1-7@gated-at.bofh.it> |
Package: initramfs-tools-core
Version: 0.142
Severity: wishlist
It would be nice if initramfs-tools-core used zstdmt (multi-threaded)
instead of plain zstd when creating the initramfs. On my system, that
saves about 15% of the time spent building the initramfs.
The following change seems sufficient:
--- /usr/sbin/mkinitramfs~ 2022-07-12 23:51:34.000000000 +0200
+++ /usr/sbin/mkinitramfs 2024-02-04 09:09:07.614462279 +0100
@@ -227,7 +227,7 @@
fi
;;
lz4) compress="lz4 ${compresslevel} -l" ;;
-zstd) compress="zstd -q ${compresslevel}"
+zstd) compress="zstdmt -q ${compresslevel}"
# If we're not doing a reproducible build, enable multithreading
test -z "${SOURCE_DATE_EPOCH}" && compress="$compress -T0"
;;
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
Back to top | Article view | linux.debian.kernel
csiph-web