Latest update for 'fast' compression algorithm LZ4 sprints past old versions
The LZ4 compression algorithm version 1.10 has been released, featuring significant performance improvements, multithreading support, and faster decompression speeds, benefiting various Linux applications and enhancing the zswap feature.
Read original articleThe latest version of the LZ4 compression algorithm, version 1.10, has been released with significant performance improvements, achieving speeds nearly ten times faster than previous versions. This update utilizes multithreading to enhance compression speed, particularly on systems with multiple CPU cores. For instance, on an x64 Linux platform, decompression of a 5GB text file has improved from 5 seconds with version 1.9.4 to just 3 seconds with version 1.10, marking a performance increase of over 60%. LZ4 is known for its speed-optimized capabilities and has been integrated into the Linux kernel since version 3.11. The algorithm's enhancements are attributed to the contributions of Takayuki Matsuoka, who previously developed a parallelized version called lz4mt. The new version allows for more efficient use of CPU cores, with tests showing substantial speed increases on both AMD and Intel processors. This release highlights the challenges of writing efficient parallel code, as many applications still do not fully utilize multiple cores. The improvements in LZ4 1.10 are expected to benefit various Linux applications, particularly those that rely heavily on swap memory, as it will enhance the performance of the zswap feature in the Linux kernel. Overall, the advancements in LZ4 demonstrate the ongoing evolution of compression algorithms to meet the demands of modern computing environments.
Related
Decompress Anything with "X Uz"
The x-cmd mod module supports various decompression formats and can automatically download required software. It provides commands for compressing and decompressing files, offering flexibility and ease of use for file compression tasks.
Zlib-ng 2.2 Speeds Up Compression By ~12% On x86_64 CPUs
Zlib-ng 2.2 release candidate offers 12% faster compression on x86_64 CPUs with performance optimizations, revamped memory allocation, modern API, and CPU intrinsics support. Improvements focus on memory allocation, system calls reduction, and small buffer processing efficiency. Michael Larabel praises enhanced compression speed and memory handling.
AMD Zen 4 vs. Intel Core Ultra 7 "Meteor Lake" in 400 Benchmarks on Linux 6.10
The article compares AMD Zen 4 laptops with Intel Core Ultra 7 "Meteor Lake" SoC in 400+ Linux 6.10 benchmarks. Testing involved Ryzen 7 7840HS/U vs. Core Ultra 7 155H. Insights on performance, power consumption, and upcoming releases were discussed.
Meta Sees ~5% Performance Gains to Optimizing the Linux Kernel with Bolt
Facebook's Meta uses BOLT to enhance Linux kernel layout, yielding 5% performance boost. Benefits vary based on kernel usage, with tasks like databases and networks benefiting most. Engineer Maksim Panchenko shares optimization guide.
AMD Ryzen 7000/8000 Series vs. 14th Gen Intel Core CPU Performance on Linux
The article compares AMD Ryzen 7000/8000 Series processors with 14th Gen Intel Core CPUs on Linux 6.10 using 400+ benchmarks. Testing on Ubuntu 24.04 LTS with Linux 6.10 kernel includes various models like Ryzen 9 7950X and Core i9 14900K. Systems used DDR5-6000 memory, AMD Radeon RX 7900 GRE graphics, and NVMe SSDs. Results show performance differences and include performance-per-dollar metrics.
Related
Decompress Anything with "X Uz"
The x-cmd mod module supports various decompression formats and can automatically download required software. It provides commands for compressing and decompressing files, offering flexibility and ease of use for file compression tasks.
Zlib-ng 2.2 Speeds Up Compression By ~12% On x86_64 CPUs
Zlib-ng 2.2 release candidate offers 12% faster compression on x86_64 CPUs with performance optimizations, revamped memory allocation, modern API, and CPU intrinsics support. Improvements focus on memory allocation, system calls reduction, and small buffer processing efficiency. Michael Larabel praises enhanced compression speed and memory handling.
AMD Zen 4 vs. Intel Core Ultra 7 "Meteor Lake" in 400 Benchmarks on Linux 6.10
The article compares AMD Zen 4 laptops with Intel Core Ultra 7 "Meteor Lake" SoC in 400+ Linux 6.10 benchmarks. Testing involved Ryzen 7 7840HS/U vs. Core Ultra 7 155H. Insights on performance, power consumption, and upcoming releases were discussed.
Meta Sees ~5% Performance Gains to Optimizing the Linux Kernel with Bolt
Facebook's Meta uses BOLT to enhance Linux kernel layout, yielding 5% performance boost. Benefits vary based on kernel usage, with tasks like databases and networks benefiting most. Engineer Maksim Panchenko shares optimization guide.
AMD Ryzen 7000/8000 Series vs. 14th Gen Intel Core CPU Performance on Linux
The article compares AMD Ryzen 7000/8000 Series processors with 14th Gen Intel Core CPUs on Linux 6.10 using 400+ benchmarks. Testing on Ubuntu 24.04 LTS with Linux 6.10 kernel includes various models like Ryzen 9 7950X and Core i9 14900K. Systems used DDR5-6000 memory, AMD Radeon RX 7900 GRE graphics, and NVMe SSDs. Results show performance differences and include performance-per-dollar metrics.