[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1062968: marked as done (initramfs-tools-core: Use zstdmt instead of zstd by default)



Your message dated Mon, 17 Nov 2025 00:18:23 +0100
with message-id <06a68c141ec1f9d12a1ae49e09b70920f621b0e0.camel@decadent.org.uk>
and subject line Re: initramfs-tools-core: Use zstdmt instead of zstd by default
has caused the Debian Bug report #1062968,
regarding initramfs-tools-core: Use zstdmt instead of zstd by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1062968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062968
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Wed, 13 Mar 2024 11:55:33 +0100 Benjamin Drung <bdrung@debian.org>
wrote:
[...]
> The man page of zstdmt says that is equivalent to "zstd -T0". As you can
> see from the code, -T0 is added in case not doing a reproducible build.
> So this change should have no performance impact. A test on a Raspberry
> Pi Zero 2 did not reveal any performance difference.

So I'm closing this as not a bug.

Ben. 

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: