Debian Bug report logs -
#893845
initramfs-tools: Add LZ4 support
Reported by: Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de>
Date: Fri, 23 Mar 2018 07:24:02 UTC
Severity: wishlist
Tags: patch
Found in version initramfs-tools/0.130
Fixed in version initramfs-tools/0.131
Done: Ben Hutchings <ben@decadent.org.uk>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#893845; Package initramfs-tools.
(Fri, 23 Mar 2018 07:24:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de>:
New Bug report received and forwarded. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(Fri, 23 Mar 2018 07:24:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: initramfs-tools
Version: 0.130
Severity: wishlist
Dear Debian folks,
It’d be great if you added LZ4 support to initramfs-tools.
There is a patch on Launchpad [1][2], which should apply easily to the
Debian package.
An initramfs image file compressed with `gzip` has a size of 24 MB,
while with an image compressed with `lz4 -9 -l` the size is 38 MB.
On a Dell XPS 13 9370 with an Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
and an NVMe SSD `populate_rootfs` takes 600 ms with the `gzip`
compressed image, while only 190 ms with the `lz4` compressed image.
(Only measured the LZ4 once.)
This can be easily measured by adding `initcall_debug` to the Linux
kernel command line – for example by editing `/etc/default/grub.cfg` and
running `sudo update-grub`. Then, after a reboot, look in the Linux
message with `journalctl -k` or `dmesg` and look for `populate_rootfs`.
As for some users boot speed is quite important, shaving 400 ms off the
boot time is quite nice.
Please tell me, if you need any help with that.
Kind regards,
Paul
[1]: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1488620
"Add LZ4 support"
[2]:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1488620/comments/5
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#893845; Package initramfs-tools.
(Fri, 23 Mar 2018 08:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastian Blank <bblank@thinkmo.de>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(Fri, 23 Mar 2018 08:09:03 GMT) (full text, mbox, link).
Message #10 received at 893845@bugs.debian.org (full text, mbox, reply):
On Fri, Mar 23, 2018 at 08:16:11AM +0100, Paul Menzel wrote:
> As for some users boot speed is quite important, shaving 400 ms off the boot
> time is quite nice.
And then they use BIOS which is aweful slow in disk access, so the time
is used instead to actually read the blocks from disk?
Bastian
--
Dammit Jim, I'm an actor, not a doctor.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#893845; Package initramfs-tools.
(Fri, 23 Mar 2018 08:30:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(Fri, 23 Mar 2018 08:30:05 GMT) (full text, mbox, link).
Message #15 received at 893845@bugs.debian.org (full text, mbox, reply):
Dear Bastian,
On 03/23/2018 09:07 AM, Bastian Blank wrote:
> On Fri, Mar 23, 2018 at 08:16:11AM +0100, Paul Menzel wrote:
>> As for some users boot speed is quite important, shaving 400 ms off the boot
>> time is quite nice.
>
> And then they use BIOS which is aweful slow in disk access, so the time
> is used instead to actually read the blocks from disk?
Sure, the majority of the systems have that problem of slow firmware,
currently it’s UEFI firmware and not the BIOS anymore, and only a few
have alternatives like coreboot or U-Boot. I do not see how that is
related though to the bug report.
But as you brought it up, my Lenovo X60 the coreboot firmware takes less
than 500 ms, and on the ASRock E350M1 around one second with SeaBIOS as
payload.
Additionally, millions of laptops run coreboot on Google Chromebooks and
Chromeboxes. So yes, there are devices out there, where you can get boot
times to the login screen in well below ten seconds, and it’d be great
if developers and users would focus on this issue too, that means,
monitor/benchmark/instrument these things, document it, and report bugs
and feature requests about this.
Kind regards,
Paul
Added tag(s) patch.
Request was from Sam Morris <sam@robots.org.uk>
to control@bugs.debian.org.
(Tue, 05 Jun 2018 13:54:04 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Ben Hutchings <ben@decadent.org.uk>
to control@bugs.debian.org.
(Wed, 18 Jul 2018 21:27:03 GMT) (full text, mbox, link).
Reply sent
to Ben Hutchings <ben@decadent.org.uk>:
You have taken responsibility.
(Thu, 19 Jul 2018 00:21:37 GMT) (full text, mbox, link).
Notification sent
to Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de>:
Bug acknowledged by developer.
(Thu, 19 Jul 2018 00:21:37 GMT) (full text, mbox, link).
Message #24 received at 893845-close@bugs.debian.org (full text, mbox, reply):
Source: initramfs-tools
Source-Version: 0.131
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 893845@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Jul 2018 01:06:01 +0100
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.131
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
initramfs-tools - generic modular initramfs generator (automation)
initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 845034 856589 856929 862013 865691 866521 871595 878829 880584 882380 883664 883735 886349 886424 887211 893845
Changes:
initramfs-tools (0.131) unstable; urgency=medium
.
[ Ben Hutchings ]
* [34bf250] debian/control: Remove maximilian attems and Adam Conrad from
Uploaders field
* [5ad3976] hooks/resume: Generalise logic to replace dev name with UUID when
RESUME=auto
* [0170b7f] hooks/resume: Store /dev/mapper path for swap if possible when
RESUMEauto (Closes: #883735)
* [5bf4c29] debian/control: Point Vcs URLs to Salsa
* [e8377b3] hooks/fsck: Fix invocation of fstype at build time.
Thanks to Simon Tatham <anakin@pobox.com> (Closes: #865691)
* [492763a] docs: Convert maintainer notes to Markdown format
* [0214976] docs/maintainer-notes.md: Update references to Alioth, to Salsa
* [b71c6c9] docs/maintainer-notes.md: Delete mention of git-core package
* [89daebf] docs/maintainer-notes.md: Change BTS link to specify source
package
* [8e539dc] docs/maintainer-notes.md: Link to tracker.debian.org instead of
PTS
* [3f27197] docs/maintainer-notes.md: Remove stale link to Debian bug count
graph
* [7dece27] docs/maintainer-notes.md: Use HTTP-S for Debian wiki and popcon
links
* [838b6ec] docs/maintainer-notes.md: Link directly to Ubuntu bug list
* [eaa61d4] docs/maintainer-notes.md: Add myself as co-author
* [fa7df8f] hook-functions: Correct the comment above hidden_dep_add_modules
* [0ffbeb9] hook-functions: Remove directory information from
hidden_dep_add_modules
* [78e95c1] hook-functions: Check modules.builtin in hidden_dep_add_modules
* [976aeb9] hook-functions: Handle i8042 hidden dependency on psmouse
(Closes: #878829)
* [211e050] hook-functions: Handle nvme hidden dependency on vmd.
Thanks to Mario Limonciello <Mario.Limonciello@dell.com> (Closes: #886349)
* [28536f6] unmkinitramfs, lsinitramfs: Split multiple early initramfs
sections (Closes: #886424)
* [2a9d97d] debian/control: Add e2fsprogs to Depends for initramfs-tools-core
(Closes: #887211)
* [577c94e] initramfs.conf: Update documentation of the DEVICE variable
* [f1cbe6f] mkinitramfs: Build reproducible images when SOURCE_DATE_EPOCH is
set. Thanks to Chris Lamb <lamby@debian.org> (Closes: #845034)
* [717e6bd] mkinitramfs: Exclude ldconfig auxiliary cache from initramfs
image. Thanks to Kristian Klausen <klausenbusk@hotmail.com>
* [8bddfe4] mkinitramfs(8): Remove description of nonexistent options
* [ecd6ce2] mkinitramfs(8), hook-functions: Correct references to "ramdisk"
* [63cec7b] docs: Move initramfs-tools man page to section 7
* [562d86e] docs: Update man page header dates
* [9bd960e] docs: Set man page header source and manual parameters correctly
* [97cc7e7] docs: Don't package maintainer documentation in
initramfs-tools-core
* [4e19a6f] docs: Remove outdated "HACKING" documentation file
* [6c02622] debian/control: Remove obsolete Breaks and Depends relations
* [749751c] debian/control: Update Standards-Version to 4.1.5
- Set Rules-Requires-Root: no
* [db469f0] initramfs-tools: Override lintian warning "breaks-without-version
upstart"
.
[ Riku Voipio ]
* [72b6419] auto_add_modules: add mfd for MODULES==most (Closes: #880584)
.
[ Benjamin Drung ]
* [7ca4d0d] Add mlx4 and mlx5 InfiniBand modules to hidden_dep_add_modules
(Closes: #871595)
* [df7d7e8] Add option to clear screen at the beginning (Closes: #856929)
* [a33cb62] Fix indentation (spaces to tabs)
* [3962c4f] Fix config directory in error message (Closes: #856589)
* [be2b91c] Double quote to prevent globbing and word splitting
* [ae339ff] Make size of /run configurable (Closes: #862013)
.
[ Steve Langasek ]
* [c198331] Skip dmsetup resume devices if they are randomly encrypted.
.
[ Paul Menzel ]
* [e28b865] mkinitramfs: Add LZ4 support (Closes: #893845)
* [5091a5e] control: Remove suggestion of *lz4-tools*
.
[ Colin Watson ]
* [b4804dd] Only sync the filesystem containing the initramfs
(Closes: #882380) (LP: #1667512)
.
[ Karsten Merker ]
* [281ad9a] Include the axp20x_usb_power module in the base modules list for
MODULES=most (Closes: #866521)
.
[ Ivan Kozik ]
* [54367c0] init: export DEVICE so that when configured, it is actually set
in configure_networking (Closes: #883664)
Checksums-Sha1:
395067443279e14a823c9f9dc21427ed8508f9bb 1755 initramfs-tools_0.131.dsc
0baf15009aef379337114f4d2821a03bbb50dd03 87676 initramfs-tools_0.131.tar.xz
ff07f9dae7e3fef062668b4afe834eae86f1a3d9 6160 initramfs-tools_0.131_source.buildinfo
Checksums-Sha256:
ba0ec72bfa05b449f76064f75c0f2bc0dc573bbb75e24cb03ea6c4d916e35429 1755 initramfs-tools_0.131.dsc
126ea8044b07e9953ecc881788fe67cc7951f9b857237288d0c4ae125d214f21 87676 initramfs-tools_0.131.tar.xz
8262cb83d8be04d748b6a29141bb361839221e138e13668690e6e397cdb0fbff 6160 initramfs-tools_0.131_source.buildinfo
Files:
1c4b81907fd0299d410a88bfb913ecc2 1755 utils optional initramfs-tools_0.131.dsc
729c1645eaa7e2bdc1cc8ae9eef81b2a 87676 utils optional initramfs-tools_0.131.tar.xz
2142a4b53fe3938fb685c37f659f0221 6160 utils optional initramfs-tools_0.131_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAltP1rMACgkQ57/I7JWG
EQkstw//YnGrERYbjmycnYc4trZ0j6fMeglupSG6hCaF9mXE9Xc7ofDVnqQ6fAuh
Dqgg0KBdbM5dR4yjXkgE/0eBLTWAk9YDoe8QqAeqne7NF953boLEuB0TtD2IR15k
hf9rDY1TFAlKT17RXsO5whJpXihR6OtHPmoe7nCWzKw9krjIiD3vjORoqts5Dwqu
zG2EKy738LYyEPknNi2r+GuZOod/UubgKpG8wxDPVlR2pzcVnK1cJfSrOo2z+JBw
U5P+vIlO2eq6bmi9uWS87OLlyRtvmMUunUJ9fN6+qrBbffvD36EbW1xXIXuCsPaf
DcZerKiWhU5CrO8k/f9QUTy1sCtWwqR0jfNzLKmygreuhp2XvGtmZAhs9GFW7RpH
TLzgE846sxw4M6H4I417IFRgWXFELfIGDfN3jxGmkgWMLX24HGwx3kRnNjZF2YDP
JIdieeJriwB6B1l0IPO0sVx3kkGZuggsyu472Gu02hJeX9IeoE0SuqCD6vZBF/RW
LWAakzmfYCdXukrYvEQqFNWLcHrxhreAP/BFBPTKJ5skRf9aebuvBX8JONE4Ap6Y
BZX+093Zg/DN/uv4WWiugT4eL5cqYwyQQWFbA860uHHrtKspBOO0GSnIpw+xF2W5
yrUEVgYSBLOHvXObKV0DvwltuCM3KDiVHyOAMqS6liS0fgpajJk=
=dU0O
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 21 Aug 2018 07:29:08 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Sep 27 05:37:21 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.