恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1478|回复: 3

esxi6.7下openwrt性能很差

[复制链接]
发表于 2021-4-30 22:05 | 显示全部楼层 |阅读模式
我cpu用的是ql3x,性能测过和6700k差不多,但是在装了esxi6.7,然后装了openwrt后,频率稳定在2.4ghz,单核性能加解密aes和chacha20和n1的s905d差不多,这是为啥?
网卡直通了的,这个和网卡直通不直通没啥关系,命令用的是下面这个
openssl speed -evp aes-128-gcm

发表于 2021-4-30 22:15 | 显示全部楼层
  1. root@OpenWrt:~# openssl speed -evp aes-128-gcm
  2. Doing aes-128-gcm for 3s on 16 size blocks: 34449809 aes-128-gcm's in 2.99s
  3. Doing aes-128-gcm for 3s on 64 size blocks: 22359603 aes-128-gcm's in 2.99s
  4. Doing aes-128-gcm for 3s on 256 size blocks: 8456201 aes-128-gcm's in 3.00s
  5. Doing aes-128-gcm for 3s on 1024 size blocks: 2465982 aes-128-gcm's in 2.99s
  6. Doing aes-128-gcm for 3s on 8192 size blocks: 322426 aes-128-gcm's in 2.99s
  7. Doing aes-128-gcm for 3s on 16384 size blocks: 161566 aes-128-gcm's in 2.99s
  8. OpenSSL 1.1.1k  25 Mar 2021
  9. built on: Wed Apr 28 09:45:47 2021 UTC
  10. options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
  11. compiler: x86_64-openwrt-linux-musl-gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -O3 -fpic -ffunction-sections -fdata-sections -znow -zrelro -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
  12. The 'numbers' are in 1000s of bytes per second processed.
  13. type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
  14. aes-128-gcm     184346.80k   478600.20k   721595.82k   844536.98k   883382.54k   885316.84k
复制代码


还行吧
发表于 2021-4-30 22:44 | 显示全部楼层
没事跑个分吧
来自苹果客户端来自苹果客户端
发表于 2021-5-1 13:52 | 显示全部楼层
root@OpenWrt:/# openssl speed -evp aes-128-gcm
Doing aes-128-gcm for 3s on 16 size blocks: 41354331 aes-128-gcm's in 2.97s
Doing aes-128-gcm for 3s on 64 size blocks: 27465307 aes-128-gcm's in 2.95s
Doing aes-128-gcm for 3s on 256 size blocks: 11964449 aes-128-gcm's in 2.94s
Doing aes-128-gcm for 3s on 1024 size blocks: 3624417 aes-128-gcm's in 2.95s
Doing aes-128-gcm for 3s on 8192 size blocks: 480947 aes-128-gcm's in 2.97s
Doing aes-128-gcm for 3s on 16384 size blocks: 242057 aes-128-gcm's in 2.97s
OpenSSL 1.1.1k  25 Mar 2021
built on: Wed Mar 31 04:31:52 2021 UTC
options:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr)
compiler: x86_64-openwrt-linux-musl-gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -O3 -fpic -ffunction-sections -fdata-sections -znow -zrelro -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128-gcm     222784.27k   595857.51k  1041802.36k  1258102.71k  1326571.66k  1335307.03k

这是我的,看不懂第意思,cpu是J4105
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2021-5-7 23:46

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表