Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #60531

Bug#893845: initramfs-tools: Add LZ4 support

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#893845: initramfs-tools: Add LZ4 support
Date Fri, 23 Mar 2018 08:30:02 +0100
Message-ID <vwpjc-3fZ-3@gated-at.bofh.it> (permalink)
X-Original-To submit@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Mar 23 07:24:12 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.961
Reply-To Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de>, 893845@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message report 893845
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Spam-Bayes score:0.0000 Tokens: new, 49; hammy, 145; neutral, 59; spammy, 0. spammytokens: hammytokens:0.000-+--journalctl, 0.000-+--H*u:52.6.0, 0.000-+--H*UA:52.6.0, 0.000-+--updategrub, 0.000-+--update-grub
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Greylist delayed 304 seconds by postgrey-1.36 at buxtehude; Fri, 23 Mar 2018 07:21:22 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1449739
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 23 Mar 2018 08:16:11 +0100
X-Original-Message-ID <ef701819-3993-0ef0-489f-28a7c06416c8@molgen.mpg.de>
Xref csiph.com linux.debian.bugs.dist:888822 linux.debian.kernel:60531

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#893845: initramfs-tools: Add LZ4 support Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de> - 2018-03-23 08:30 +0100
  Bug#893845: initramfs-tools: Add LZ4 support Bastian Blank <bblank@thinkmo.de> - 2018-03-23 09:10 +0100
    Bug#893845: initramfs-tools: Add LZ4 support Paul Menzel <pmenzel+bugs.debian.org@molgen.mpg.de> - 2018-03-23 09:40 +0100
  Bug#893845: marked as done (initramfs-tools: Add LZ4 support) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-07-19 02:30 +0200

csiph-web