RPM

rpm5 use lz4 as new compression function

Registered by devzero2000

LZ4 is a very fast compressor, based on well-known LZ77 (Lempel-Ziv) algorithm.
Originally a fork from LZP2, it provides better compression ratio for text files and reaches impressive decompression speed, in the range and beyond 1GB/s per core (!), especially for binary files. These speeds are scalable with multi-threading modes, quickly reaching RAM speed limits on multi-core systems.

What is more from the front of the Linux kernel have recently arrived a series of patches signed by Lee Kyungsik that enable compression LZ4 for the heart of our favorite operating system.

LZ4 algoritimo is a real-time compression (lossless of course), born as a natural evolution of LZO, the algorithm with which it is currently compressed kernel. Although a compressed kernel with LZ4 appear larger than the result of applying LZO, the decompression speed is much higher peaks and touches of 1Gb / s per core. The most obvious effect which is obtained with the passage in LZ4 is therefore an increase in speed in launching the system.

From some preliminary tests on ARMv7 systems showed that, compared with an 8% increase in the size of the kernel, the decompression speed is increased from 301ms to 167ms for LZO for LZ4. Advantages of negligible use for desktop or mobile kernel but certainly not to be ignored.

The new compression mode could become a full member between the characteristics of version 3.9 of the Linux kernel

Perhaps could be useful to integrate also lz4, as lrzip https://blueprints.launchpad.net/rpm/+spec/rpm5-use-lrzip-as-new-compression-program, in rpm5

After some time a container format was defined http://fastcompression.blogspot.it/2013/03/a-streaming-format-for-lz4.html

Blueprint information

Status:
Not started
Approver:
Jeff Johnson
Priority:
Medium
Drafter:
devzero2000
Direction:
Needs approval
Assignee:
Jeff Johnson
Definition:
Discussion
Series goal:
Accepted for 5.4
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.