LZ4 v1.10.0 - Multicores edition
LZ4 v1.10.0 introduces major updates, integrating 600+ commits that significantly enhance its capabilities. This version brings multithreading support to the forefront, harnessing modern multi-core processors to accelerate both compression and decompression processing. It's a good upgrade for users looking to optimize performance in high-throughput environments.
Multithreading support
The most visible upgrade of this version is likely Multithreading support. While LZ4 has historically been recognized for its high-speed compression, the demand for even faster throughput has grown, particularly with the advent of nvme storage technologies that allow for multi-GB/s throughput.
Multithreading is particularly beneficial for High Compression modes, which now perform dramatically faster. The following benchmark table showcases the performance improvements:
source | cpu | os | level | v1.9.4 | v1.10.0 | Improvement | --- | --- | --- | --- | --- | --- | --- | silesia.tar | 7840HS | Win11 | 12 | 13.4 sec | 1.8 sec | x7.4 silesia.tar | M1 Pro | macos | 12 | 16.6 sec | 2.55 sec | x6.5 silesia.tar | i7-9700k | linux | 12 | 16.2 sec | 3.05 sec | x5.4 enwik9 | 7840HS | Win11 | 9 | 20.8 sec | 2.6 sec | x8.0 enwik9 | M1 Pro | macos | 9 | 22.1 sec | 2.95 sec | x7.4 enwik9 | i7-9700k | linux | 9 | 22.9 sec | 4.05 sec | x5.7