路由器小主机CPU加解密性能测试

J1900 cpu openwrt

单线程运行
openssl speed -evp aes-128-gcm

多线程运行。感谢lintel提供代码!
openssl speed -multi $(cat /proc/cpuinfo |grep processor | wc -l) -evp aes-128-gcm

多线程性能得分: evp 144926.79k 169710.93k 179719.68k 182539.61k 183099.39k 183031.13k

单线程性能得分:

type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 36318.23k 42305.62k 44974.17k 45646.51k 45787.82k 45787.82k

N3060 CPU openwrt

多线程:evp 207028.65k 408532.59k 600136.62k 675362.13k 695036.59k 701218.82k

单线程:

type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 111974.85k 225410.62k 324337.41k 368948.23k 380586.67k 382156.80k

N3710 CPU openwrt

多线程:evp 453117.74k 906427.69k 1306156.03k 1486838.44k 1537919.66k 1532663.13k

单线程:

type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 115526.47k 234140.05k 335351.72k 379580.07k 392992.09k 394286.42k

发表评论

邮箱地址不会被公开。 必填项已用*标注