intel / QAT_Engine

Intel QuickAssist Technology( QAT) OpenSSL Engine (an OpenSSL Plug-In Engine) which provides cryptographic acceleration for both hardware and optimized software using Intel QuickAssist Technology enabled Intel platforms. https://developer.intel.com/quickassist
BSD 3-Clause "New" or "Revised" License
410 stars 128 forks source link

QAT PRF Performance #133

Open duadbsgh opened 4 years ago

duadbsgh commented 4 years ago

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 ?

paulturx commented 4 years ago

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

thanks in advance paulturx

duadbsgh commented 4 years ago

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"?