找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3798|回复: 4

[openwrt(x86)] esxi6.7下openwrt性能很差

[复制链接]
我cpu用的是ql3x,性能测过和6700k差不多,但是在装了esxi6.7,然后装了openwrt后,频率稳定在2.4ghz,单核性能加解密aes和chacha20和n1的s905d差不多,这是为啥?
网卡直通了的,这个和网卡直通不直通没啥关系,命令用的是下面这个
openssl speed -evp aes-128-gcm

我的恩山、我的无线 The best wifi forum is right here.
  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
复制代码


还行吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

没事跑个分吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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     232617.27k   632293.76k  1108481.02k  1334965.59k  1439131.65k  1441884.84k
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 21:48

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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