- Reaction score
- 1,828
LZ4, a widely used cross-platform open-source compression algorithm known for its speed and efficiency, has just reached version 1.10.
This latest update introduces significant enhancements, particularly multithreading support, which leverages modern multi-core processors to accelerate compression and decompression tasks in high-throughput environments.
For those who might not know, LZ4 is especially favored when speed is prioritized over compression ratio, such as streaming or real-time applications. Until now, LZ4 has operated primarily as a single-threaded process. The 1.10 release, however, completely changes this.
The headline feature of LZ4 1.10 is its multithreading capability. By allowing multiple threads to process data simultaneously, LZ4 significantly reduces the time it takes to compress and decompress large files.
This is particularly beneficial when using high compression modes, which are generally more CPU-intensive. The latest benchmarks vividly illustrate the improvements across different operating systems:
This latest update introduces significant enhancements, particularly multithreading support, which leverages modern multi-core processors to accelerate compression and decompression tasks in high-throughput environments.
For those who might not know, LZ4 is especially favored when speed is prioritized over compression ratio, such as streaming or real-time applications. Until now, LZ4 has operated primarily as a single-threaded process. The 1.10 release, however, completely changes this.
The headline feature of LZ4 1.10 is its multithreading capability. By allowing multiple threads to process data simultaneously, LZ4 significantly reduces the time it takes to compress and decompress large files.
This is particularly beneficial when using high compression modes, which are generally more CPU-intensive. The latest benchmarks vividly illustrate the improvements across different operating systems:
- On Windows 11, using an Intel 7840HS CPU, compression time has improved from 13.4 seconds to just 1.8 seconds—a 7.4 times speed increase.
- macOS users with the M1 Pro chip will see a reduction from 16.6 seconds to 2.55 seconds, a 6.5 times faster performance.
- For Linux users on an i7-9700k, the compression time has been reduced from 16.2 seconds to 3.05 seconds, achieving a 5.4 times speed boost.
LZ4 1.10 Lossless Compression Algorithm Released
LZ4 1.10 compression algorithm released with multithreading, dramatically improving compression speeds by up to 8 times.
linuxiac.com