Colin Ian King, a Ubuntu Engineer working within the Kernel Team at Canonical, printed a weblog article with a few of the boot enhancements made within the upcoming Ubuntu 19.10 working system.
According to Colin Ian King, the Ubuntu Kernel Team labored arduous through the previous few months to discover a quicker compression/decompression algorithm for the upcoming Ubuntu 19.10 (Eoan Ermine) working system, which is able to hit the streets later this fall on October 17th.
The Ubuntu Kernel Team benchmarked six compression strategies for the initramfs, together with BZIP2, GZIP, LZ4, LZMA, LZMO and XZ, to measure the loading time of the Linux kernel, in addition to the decompression time. The benchmarking was performed on x86 configurations utilizing the x86 TSC (Time Stamp Counter).
In the top, they realized that LZ4 is the perfect compression/decompression methodology for Ubuntu 19.10 (Eoan Ermine) as BZIP2, LZMA, and XZ have been gradual to decompress, whereas LZ4 was over seven instances quicker than GZIP. On the opposite hand, LZO was about 1.25 instances quicker then GZIP, however not quick sufficient.
"Even with slow spinning media and a slow CPU, the longer load time of the LZ4 kernel is overcome by the far faster decompression time. As media gets faster, the load time difference between GZIP, LZ4 and LZO diminishes and the decompression time becomes the dominant speed factor with LZ4 the clear winner," mentioned Colin Ian King.
LZ4 can be used as default decompression for Ubuntu 19.10
LZ4 was already utilized by default in Ubuntu, because the Ubuntu 18.10 (Cosmic Cuttlefish) launch, nevertheless it seems like Canonical will hold as default compression/decompression methodology for the kernels and initramfs within the Ubuntu 19.10 (Eoan Ermine) working system.
LZ4 is a lossless knowledge compression algorithm that gives extraordinarily quick compression and decompression speeds. In Ubuntu 19.10 (Eoan Ermine), LZ4 can be obtainable for the x86 (64-bit), PPC64le (PowerPC 64-bit Little Endian), and s390 (IBM System z) kernels.