-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Hardware-accelerated Compression #130
Comments
@backslasht , @dblock as well |
Did #122 implement what's in this RFC? (Can it be closed?) |
@dblock I don't think this can be closed. Hardware-accelerated compression has been implemented, but they are distinct codecs, which means the indexes cannot be used on hardware that doesn't support the acceleration. However, the codecs themselves are technically compatible with the existing the |
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
andqat_lz4
. Both codecs are compatible with their corresponding software counterparts,best_compression
anddefault
respectively, but do not override them (at least for the time being).The new setting
index.codec.qatmode
defines two modes of execution. Ahardware
mode exclusively uses QAT while anauto
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
anddefault
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.
@reta @sarthakaggarwal97 @wbeckler @andrross
The text was updated successfully, but these errors were encountered: