-
Notifications
You must be signed in to change notification settings - Fork 26
Description
PR #122 introduced hardware-accelerated compression, leveraging Intel (R) QAT technology, for DEFLATE and LZ4 compression algorithms. The implementation uses the Qat-Java library to interact with the QAT hardware.
The PR also introduced two additional values for index-codec: qat_deflate and qat_lz4. Both codecs are compatible with their corresponding software counterparts, best_compression and default respectively, but do not override them (at least for the time being).
The new setting index.codec.qatmode defines two modes of execution. A hardware mode exclusively uses QAT while an auto mode may fallback and use a software implementation in cases where hardware resources are not available.
Another approach that could be taken is to override best_compression and default such that, in systems where the hardware is available, hardware acceleration is used.
The purpose of this RFC is to initiate a discussion on the pros and cons this last approach.