QAT_Engine icon indicating copy to clipboard operation
QAT_Engine copied to clipboard

QAT PRF Performance

Open duadbsgh opened this issue 5 years ago • 2 comments

Hi @stevelinsell @paulturx

The performance when offloading PRF (Pseudorandom functions) to QAT does not seem to be improved ,

Performance is improved about 3 times when offloading asymmetric keys (ex. RSA)

Isn't QAT significantly improving the performance of PRF ?

duadbsgh avatar Feb 04 '20 05:02 duadbsgh

Hi Could you provide some details about the set-up you are using that is giving the poor PRF performance:-

  • QAT driver version
  • QAT Engine version and 'configure' command used
  • OpenSSL version
  • if using nginx, version and nginx.conf file being used.
  • details of how you are presenting traffic to the QAT Engine, number of clients, commands used to send traffic, etc.

thanks in advance paulturx

paulturx avatar Feb 04 '20 16:02 paulturx

Hi @paulturx Thank you for the quick answer.

1. QAT driver version -> v0.5.39

2. QAT Engine version and 'configure' command used ./configure
--with-qat_dir=$qat_path
--with-openssl_dir=$openssl_path
--with-openssl_install_dir=$install_path
--disable-qat_small_pkt_offload
--disable-qat_ciphers
--disable-qat_dh
--disable-qat_ecdh
--enable-qat_prf
--disable-qat_lenstra_protection
--disable-qat_dsa
--disable-qat_ecdsa
--enable-qat_rsa
--enable-qat_for_openssl_master
--enable-upstream_driver
--enable-usdm

3. OpenSSL version -> 1.1.1

4. if using nginx, version and nginx.conf file being used. -> not nginx (Voluntarily implemented openssl proxy engine)

5. details of how you are presenting traffic to the QAT Engine, number of clients, commands used to send traffic, etc. -> Load test using Avalanche instrument

Is there a way to measure only prf like "openssl speed"?

duadbsgh avatar Feb 07 '20 01:02 duadbsgh