LZ4 description

LZ4 is a very fast lossless compression algorithm, providing compression speed > 500 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

LZ4 is available as a C Open Source project, hosted on Github, under a BSD license. A list of ports to other language (Java, C#, Python, etc.) is also maintained on this page.

LZ4 compression format is detailed in a dedicated post.

Download :
LZ4 project is currently hosted on Github.
Pre-compiled binaries for Windows are proposed in the release section.

Compression level comparison :
In-memory benchmark using lzbench, on the Silesia Corpus
Benchmark platform : Core i7-3930K @ 4.5GHz, Linux 64-bits, gcc v6.2
Compression / ThreadRatioSpeedDecoding
LZ4 Fast 81.799911 MB/s3.36 GB/s
LZ4 default2.101625 MB/s3.22 GB/s
LZ4 HC 92.72034 MB/s3.24 GB/s

You can provide comments and ask questions on the LZ4 Forum Group or the LZ4 issue board .

Donate to LZ4 project
Should you wish to provide a token of your appreciation, the following link will allow you to donate to the LZ4 project :