4 ms·
Interesting that Intel's code for this includes numerous references to LZ4, as if that's the actual algorithm the hardware originally aimed to accelerate.. So s
by metta2uall 3y ago
Interesting that Intel's code for this includes numerous references to LZ4, as if that's the actual algorithm the hardware originally aimed to accelerate.. So seems like LZ4 and ZSTD are quite similar?
https://github.com/intel/QAT-ZSTD-Plugin/blob/main/src/qatseqprod.c https://github.com/intel/QAT-ZSTD-Plugin/blob/main/src/qatse...
- lifthrasiir 3y agoIt's actually LZ4S, which is an intermediate format very similar to LZ4. LZ4 can be regarded as an LZSS-only compression format with no further coding, so any format that uses LZSS as its core modelling scheme will benefit from LZ4S acceleration. (QAT also has specific support for DEFLATE and Huffman coding, but that's all.)
- xxs 3y agoPretty much all LZ77 class of algorithms try finding longest matches in a dictionary. (both zstd, lz4... and deflate [(g)zip] are all lz77)