本帖最后由 bennyzhou 于 2020-6-11 19:37 编辑
基于现在购物普遍使用chacha20或aes-128-gcm(威图睿的加密只有none,chacha20和aes-128-gcm这3种可以选
none没有chacha20快)
其他测速都不如aes-128-gcm来的更有实际意义。结果基本就是你这款路由器看YTB的速度了
各位,跑完结果麻烦跟帖回复一下。我会把你们的结果加到这个顶楼贴子中。
记得表明你的路由器型号。如超频也请说明下
单线程运行
- openssl speed -evp aes-128-gcm
复制代码 多线程运行。感谢183楼的lintel提供代码!
- openssl speed -multi $(cat /proc/cpuinfo |grep processor | wc -l) -evp aes-128-gcm
复制代码
Intel i5 2c4t 2.3GHz (x86_64) Hyper-V Debain 10 SDP:25W
感谢56楼的IDSSC
单线程运行 openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes aes-128-gcm
1511600.22k 3685220.12k 7654999.98k 12113780.74k 15945635.16k 16397571.41k
(点评,56楼只提供了单线程数据。但从跑分看单线程速度还是很惊人的,秒杀所有工控软路由) |
软路由8550U 4核8线程 win10x64下openssl for win64(楼主自有)
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 407350.09k 1069287.64k 2341741.82k 4037633.02k 5415179.61k 5599747.20k
openssl speed -multi 4 -evp aes-128-gcm
win64版openssl不支持multi开关,估计22398988.8k
这个机器买来是想做软路由的。但是发现性能太浪费,现在当主力台式机用。已经修改TDP到95W。能稳定8线程跑满再3.86Ghz |
软路由7300u PVE下测试
感谢61楼的xaper
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 517267.85k 1305092.18k 2641485.40k 4181559.64k 5259856.55k 5396485.46k
openssl speed -multi 4 -evp aes-128-gcm
1214561.37k 2315031.74k 5262566.14k 7905059.16k 10235407.02k 10321128.11k |
软路由3865U 2核2线程ESXi6.7下Lean R20.5.20(楼主自有)
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 244795.99k 734226.17k 1352640.86k 1584948.58k 1642074.07k 1661507.47k
openssl speed -multi 4 -evp aes-128-gcm
556735.46k 1575588.07k 2773105.92k 3103727.79k 3273515.01k
|
N3150爱快下,虚拟机装的OP,只分配单核,cpu限制80%
感谢24楼的钱钱钱,命相连
单线程运行 openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes aes-128-gcm
25541.10k 33138.07k 35962.65k 34573.64k 36548.06k
(点评,24楼只提供了单线程数据,但是分数有点低。单线程之比wrt1900ac v2快一点点。被N1完爆。理论上N3150支持AES-NI指令,没这么慢的)
|
小米AX3600(4核A53)
感谢70楼的 LonGDikE
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 62519.23k 109527.53k 131965.44k 140379.78k 142423.38k
openssl speed -multi 4 -evp aes-128-gcm
240309.35k 427774.59k 520238.51k 542333.61k 561501.53k
(点评,ax3600同为四核A53,跟N1比还是慢了很多啊) |
wrt1900ac v2 (Marvell Armada 385 88F6820,双核A9@2.0GHz)
感谢10楼的 欲与伊泰克
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 26109.46k 29953.28k 31279.10k 31607.47k 31841.95k 31708.50k
openssl speed -multi 4 -evp aes-128-gcm
53632.91k 60304.35k 62645.90k 63127.52k 63344.95k 63646.38k |
星际宝盒cm520
感谢30楼的 ccbcfan
单线程运行 openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes aes-128-gcm
10235.02k 11921.86k 12537.60k 13352.96k 13537.35k 13505.88k
多线程运行 openssl speed -multi 4 -evp aes-128-gcm evp
40748.87k 47322.30k 50021.72k 52971.86k 53335.38k 53865.13k |
星际宝盒(4核A7-neon-vfp@770Mhz)(楼主自有)
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 10210.69k 11900.44k 12420.86k 13305.49k 13563.53k 13484.03k
openssl speed -multi 4 -evp aes-128-gcm
39719.02k 47347.71k 49691.22k 53020.67k 53234.35k 53667.52k |
EA6350v3 IPQ4019
感谢50楼的chd1998
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 8432.12k 9630.06k 9880.21k 9635.23k 9906.15k 9847.12k
openssl speed -multi 4 -evp aes-128-gcm
32710.88k 34501.82k 35599.79k 36322.30k 36050.26k 38436.86k
|
ea6400 bcm4708A0(双核) 梅林系统
感谢81楼的dexi2009
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 12598.18k 14007.57k 14543.19k 14701.57k 14813.87k
openssl speed -multi 4 -evp aes-128-gcm
24386.39k 27793.43k 28770.51k 29021.73k 29134.00k |
小米R3G (MT7621A mipsle_24kc 2核4线程@880Mhz)(楼主自有)
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 5955.69k 6783.25k 7009.38k 7033.51k 7148.14k 7110.66k
openssl speed -multi 4 -evp aes-128-gcm
12218.49k 13722.92k 14198.39k 14313.21k 14372.74k 14359.13k |
totolink a3004ns (mt7621a,双核@880hz)
感谢31楼的 ccbcfan
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128-gcm
5730.58k 6210.73k 6316.86k 6386.35k 6400.68k
openssl speed -multi 4 -evp aes-128-gcm
11746.61k 12595.33k 12827.73k 12682.24k 12902.40k
ea6350 bcm47081(单核)
感谢77楼的 dexi2009
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 6446.79k 6555.73k 5590.82k 6382.08k 6731.09k
openssl speed -multi 4 -evp aes-128-gcm
6429.56k 6666.86k 6702.52k 6704.65k 6775.83k |
分数解释
只支持单线程的低调上网插件,速度参考第一个红标
支持多线程的低调上网插件,速度参考第一个红标
这个速度指的是低调上网时你的路由器解码速度极限,简单点讲就是你购物时的下载速度。直接影响到看视频是否能4K或8K |
===========================================================
最后是N1盒子。速度惊人绝对意想不到。回复可见结果
Phicomm N1(S905D@1.5Ghz)
openssl speed -evp aes-128-gcm
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-gcm 71838.13k 208867.06k 410109.95k 544401.41k 598553.94k 602328.44k
openssl speed -multi 4 -evp aes-128-gcm
279795.25k 829379.90k 1599300.95k 2162384.90k 2340099.41k 2355052.54k
这里可以看到N1的性能是R3G的164倍(2355052.54k/14359.13k)
K2P,红米2100,新3都是跟R3G一样的cpu,所以分数也是一样的
只要在ssh下执行上面命令即可。需要安装openssl-util这个包
没有的请自己到这个软件仓库下载
http://op.hyird.xyz/
感谢固件发布人,原帖 https://www.right.com.cn/forum/thread-4032475-1-1.html
N1我用的是自创的主路由方式。具体操作方法请看
https://www.right.com.cn/forum/thread-2255548-1-1.html
上面学不会的可以用懒人包一键导入配置。看下面
https://www.right.com.cn/forum/thread-4035585-1-1.html
![](https://www.right.com.cn/forum/data/attachment/forum/202006/06/003608z2hjnep3e2onwont.jpg)
固件是flippy的37o+
附送网上流传的低调跑分。发布人说”要就N1,要就7200U起步,低端的还不如买N1,费电“
==================================================
回应下边点评
库不一样,cpu还是那个。go的库效率只会比openssl的更慢
不管什么库,最终都是朝着榨干CPU性能的目标去实现的
实际上,MT7621A的YTB测速,很接近这个openssl的跑分。单线程7到8千,4线程15000左右
-evp的权威解释
https://stackoverflow.com/questions/3055454/what-does-openssls-evp-mean- This explanation from doc/ssleat.txt should give you enough of an answer:
- EVP The Digital EnVeloPe library is quite large. At it's core are function to perform encryption and decryption by parts while using an initial parameter to specify which of the 17 different ciphers or 4 different message digests to use. On top of these are implmented the digital signature functions, sign, verify, seal and open. Base64 encoding of binary data is also done in this library.
复制代码 如果不用这个开关,openssl是不能测gcm的。要测只能加evp,仅此而已。你可以直接试一些不需要evp开关就能支持的加密比如cfb,开不开evp结果是一样的
[color=rgb(51, 102, 153) !important]复制代码
另外golang的ssl库。我查了下也是支持AES-NI的
AES-NI performance in Golang
https://github.com/mmcloughlin/aesnix
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|