NewsCrawler.org

MinLZ 1.3 adds SIMD blocks for faster decompression

MinLZ 1.3 adds SIMD blocks for faster decompression
simd-ann-buffers
simd_ratio_decode
simd_ratio_compress
Image: Reddit

MinIO released version 1.3 of MinLZ, a lossless compression algorithm, with a new block type called SIMD[1] blocks. The Go version (1.3.0) and the Rust version came out at the same time. MinLZ is aimed at modern data formats, is designed to compress and decompress at I/O speed, and is the primary compression format used in AIStor.

SIMD blocks store the output of the LZ[2] compressor as separate Huffman-coded[3] streams, laid out so that a CPU can decode them with vector instructions. The compression ratio is in the range of Zstandard, and decompression in Go is 2.2-2.5× faster than Zstandard and about 2× faster than classic MinLZ blocks, on a single core.

At the default 2 MB block size, SIMD Balanced is 2% smaller than zstd's fastest level, decompresses 2.5× faster on one core (6.4 against 2.6 GB/s), and compresses 1.6× faster on 16 threads. Against zstd's default level, its output is 3.6% larger and it decompresses 2.3× faster. These are geometric means over 13 data sets, 58 GB in total, using Go implementations on an AMD Ryzen 9 9950X. Blocks below 64 KB carry their own Huffman tables and decompress more slowly than classic MinLZ blocks, while scalar blocks are kept for older CPUs and very small blocks.

Read the original github.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page