Zstd 1.6 released with AArch64 and RISC-V performance optimizations
Zstandard 1.6 introduces significant architectural optimizations for ARM and RISC-V while addressing critical memory corruption and multi-threading bugs.
Summary
The Zstandard compression library has released version 1.6.0, marking the first major update since version 1.5.7. This release focuses on consolidating improvements made over the last eighteen months, specifically targeting modern CPU architectures.
Users on ARM64 and RISC-V platforms will see the most significant performance gains through improved vector instruction usage. Additionally, the release addresses several stability concerns, including potential memory corruption vulnerabilities and multi-threaded execution bugs found in previous versions.
Architectural improvements and stability fixes
- AArch64 Optimization: Enhances decompression speeds on 64-bit ARM and introduces faster compression via Scalable Vector Extensions 2 (SVE2) and Neon instructions.
- RISC-V Acceleration: Implements performance optimizations specifically targeting the RISC-V Vector (RVV) extension.
- Security and Stability: Fixes memory corruption risks within the STD_compressSequences() and ZSTD_compressSequencesAndLiterals() functions, alongside resolving 32-bit compatibility issues.
- Concurrency and API: Addresses various multi-threaded (de)compression bugs and introduces minor API changes and command-line interface adjustments.
Why it matters
As a foundational compression tool, these updates improve efficiency for Linux distributions and cloud infrastructure running on ARM64 and RISC-V hardware. The security patches for memory corruption are critical for system administrators and developers relying on Zstd for data integrity and stability.
What to do
- Update to Zstandard version 1.6.0 to address memory corruption risks and multi-threaded issues.
- Review minor API changes and command line interface argument adjustments if using the library in development.
Original reference: www.phoronix.com →