Az Intel QAT driver Linux 7.1-ben Zstd offload támogatással bővül
A Linux kriptográfiai alrendszerének „cryptodev” ágán már sorban áll, és a közelgő Linux 7.1 merge window előtt végre megérkezett az a patch, amely a kernel aszinkron tömörítési „acomp” API-ján keresztül Zstd támogatást ad.
Az Intel QAT-hoz érkező Zstd támogatás alapvető tömörítési offloadot biztosít a meglévő Gen4/Gen5 QAT gyorsítókhoz. A következő generációs Xeon processzorokban megjelenő legújabb Gen6 IP esetén már egy tisztább, natív útvonal áll rendelkezésre a Zstd tömörítéshez, és a kitömörítés offloadja is megoldható. Tavaly az Intel
bevezette a kezdeti QAT Gen 6 támogatásta Linux kernel driverében.
A patchígy foglalja össze a QAT Zstd gyorsítást:
"Add support for the ZSTD algorithm for QAT GEN4, GEN5 and GEN6 via the acomp API.
For GEN4 and GEN5, compression is performed in hardware using LZ4s, a QAT-specific variant of LZ4. The compressed output is post-processed to generate ZSTD sequences, and the ZSTD library is then used to produce the final ZSTD stream via zstd_compress_sequences_and_literals(). Only inputs between 8 KB and 512 KB are offloaded to the device. The minimum size restriction will be relaxed once polling support is added. The maximum size is limited by the use of pre-allocated per-CPU scratch buffers. On these generations, only compression is offloaded to hardware; decompression always falls back to software.
For GEN6, both compression and decompression are offloaded to the accelerator, which natively supports the ZSTD algorithm. There is no limit on the input buffer size supported. However, since GEN6 is limited to a history size of 64 KB, decompression of frames compressed with a larger history falls back to software."
Jó látni, hogy a Zstandard tömörítés támogatása végre megérkezik az Intel QAT driverbe, és Gen6-tal a hardveresen gyorsított Zstd tömörítés és kitömörítés is jóval ütőképesebb lesz.

