I measured the performance of AES
using following command before and after setting the kernel config CONFIG_CRYPTO_AES_NI_INTEL
but the performance is very similar, i am not sure is it using AES-NI
or not, i check the cpu is AES-NI
capable and CPUID
shows AES-NI
enable,
# openssl s_time -connect myserver:443 -www /file.html -new -time 30 -cipher AES128-SHA
Collecting connection statistics for 30 seconds
2293 connections in 10.42s; 220.06 connections/user sec, bytes read
2404343494
2293 connections in 31 real seconds, 1048558 bytes read per connection
why enabling the config option CONFIG_CRYPTO_AES_NI_INTEL
doesn't make any difference. please note i already had the
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=y
CONFIG_CRYPTO_CRYPTD=y
in both the case