Zstd Compression to See Performance Boost in Linux 7.4
科技
⚠ 单一来源
4h ago

Zstd Compression to See Performance Boost in Linux 7.4

AI综合 · 已去除偏见 · 仅事实

Usama Arif has developed patches for the Linux kernel’s Zstd compression code aimed at improving performance by eliminating redundant initialization processes. The patches, accepted into the cryptodev Git branch, are slated for inclusion in the Linux 7.4 kernel release.

Arif identified that the existing Zstd code performed an unnecessary initialization of both cstream and dstream, discarding the result without utilizing any data. His solution defers stream initialization until the first walk iteration. This change addresses a major inefficiency within the kernel’s Zstd implementation.

Benchmark tests, specifically a 4KB crypto_acomp run, demonstrate significant improvements resulting from the patches. These tests show single-digit percentage gains in Zstd compression speed and a 13% increase in decompression speed on bare metal systems. Within a virtual machine environment, decompression speeds improved by 35%.

The patches were picked up this week into the cryptodev Git branch and are expected to be submitted for inclusion in the Linux 7.4 merge window, according to the cover letter accompanying the patches.

有帮助吗?

閱讀原始報道

💬 评论

📜 评论政策