I do some compression tests using the Intel® QuickAssist Technology Data Compression API.
There are some problems listed below:
1. The cpaDcCompressData API is blocking and the time is about 10 ms
No matter how many buffers i compress one time, the time is always about 10 ms.
How can i reduce the blocking time or processing time ?
2. From the log, seems some parameters aren't supported, I don't know if it is true.
For examples, when i set the "compType" to be CPA_DC_LZSS or CPA_DC_ELZS,
the "cpaDcInitSession" API returns a error of "Invalid compType value".
Also when i set the "huffType" to be CPA_DC_HT_PRECOMP or CPA_DC_HT_FULL_DYNAMIC.
Do anybody know whether is normal ?
Appreciate your answers or telling me how i can find the answers.
Thank you very much.