openssl speed 测试aes-ni 加速性能对比 (4010U 树莓派 VPS )

在ssh里输入
openssl speed -elapsed -evp aes-128-cbc
(若没有则apt-get install openssl)
即可测试性能基准测试(with intel aes-ni)


测试无aes-ni加速,则输入
OPENSSL_ia32cap="~0x200000200000000" openssl speed -elapsed -evp aes-128-cbc



Intel奔腾-3855U不带aes-ni指令集







下图为Intel酷睿i3-4010U带aes-ni指令集

框代表 每秒完成处理的数据量KB/S


有加速时翻一番。
没有aes加速时,也有158.8MB/S。看youtube性能绰绰有余



附录:其他CPU性能(橙色字代表AES硬加速,若支持)

Z7375F(支持加速)
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc      28233.46k    29544.36k    30870.61k    31714.65k    32445.78k
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     153928.83k  231742.42k   257936.55k   292269.40k   294873.77k

i3-4010u
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     152839.05k   172336.19k   178434.56k   178955.61k   181171.54k
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     347217.18k   372614.49k   379518.38k   381231.10k   381569.71k


Intel 3855U(不支持加速):
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     159268.90k   175070.23k   177259.95k   180251.99k   180887.55k
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     159022.61k   175063.94k   177528.49k   179830.44k   180483.41k


sentris VPS(openvz不支持加速)
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     183929.67k   240230.63k   253021.87k   258786.30k   246625.62k
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc     188218.84k   241200.19k   252445.87k   263605.93k   266024.28k

anynode VPS(openvz不支持加速)
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc      70244.84k    78472.17k    80501.76k   191346.69k   194210.47k
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc      71123.14k    78523.90k    84092.84k   193028.44k   192735.91k


树莓派A7核心 1.2Ghz(不支持加速)
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc      15497.35k    28703.04k    30536.19k    31028.91k    31170.56k
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-128-cbc      23270.89k    28680.30k    30530.47k    31028.91k    31156.91k

评论

此博客中的热门博文

群晖 NAS 搭建 shadowsocks 服务端 (Docker/libev)

OpenWRT 路由器搭建 Shadowsocks 服务器 (ss-server on ramips、71xx、bc47xx)

制作 V2RAY SSR shadowsocksr 订阅简单教程