Skip to content

LZ4 compression boot support

MintPup edited this page Feb 6, 2016 · 4 revisions

Rufwoof explained some advantages using LZ4 compressed modules in the forum thread and Fred made possible to add LZ4 boot option in DebianDog-Jessie without changing the included 3.16 kernel. For information LZ4 boot support is included in kernel 3.19 and later but to be able to compile all official -dkms modules from debian Jessie repository we have to keep the official Debian Jessie kernel (3.16).
It is advanced user option – you need to use different initrd file, extra squashfs module with script modifications for LZ4 support inside “live” folder and different menu entry in grub.


This is what you need to do for DebianDog-Jessie NOPAE iso versions:
DebianDog-Jessie-openbox_xfce-2015-09-02.iso
DebianDog-Jessie-jwm_icewm-2015-09-02.iso

Download and extract this archive and read the ReadMe file inside:
3.16-NOPAE-kernel-squashfs-lz4-support.tar.gz
md5sum


This is what you need to do for DebianDog-Jessie PAE iso versions:
DebianDog-Jessie-openbox_xfce-2015-09-02-PAE.iso
DebianDog-Jessie-jwm_icewm-2015-09-02-PAE.iso

Download and extract this archive and read the ReadMe file inside:
3.16-PAE-kernel-squashfs-lz4-support.tar.gz
md5sum


Both archives are available for download also from SFS-get in DebianDog-Jessie and from Kazza’s site.


More information about LZ4 compression read here: cyan4973.github.io

  • LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core (0.16 Bytes/cycle). It features an extremely fast decoder, with speed in multiple GB/s per core (0.71 Bytes/cycle). A high compression derivative, called LZ4_HC, is available, trading customizable CPU time for compression ratio. LZ4 library is provided as open source software using a BSD license.
Clone this wiki locally