AMD Ryzen 7 PRO 4750UでOpenSSLのAESがCPUのaes拡張とソフトウェア実装でどれだけの違いが出るか計測してみた。
$ grep 'model name' /proc/cpuinfo | uniq
model name : AMD Ryzen 7 PRO 4750U with Radeon Graphics
$ openssl speed -elapsed aes-256-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-256 cbc 134171.06k 141943.45k 145364.39k 283557.21k 286935.72k 285966.34k
$ openssl speed -elapsed -evp aes-256-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-256-cbc 874889.30k 1093771.29k 1121588.39k 1128727.55k 1129944.41k 1130905.60k