-
Notifications
You must be signed in to change notification settings - Fork 4.3k
5.16版本服务端似乎在性能上有问题 #4741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
根据你的描述可以排除先是 X25519MLKEM768 的问题,REALITY 服务端确实有升级仓库版本,但前后都是 AEAD 应该没区别吧 |
还有你用的是 Vision REALITY 还是 XHTTP REALITY?这两个试一下 |
普通的TLS呢? |
测试环境,服务器J4125 arch Linux 客户端 arm64 Debian 配置全程未改变只换xray内核版本 同时,v25.4.30 版本使用vless + xtls-rprx-vision + reality 同时v25.5.16版本使用vless + xtls-rprx-vision + reality 服务器 v25.5.16 客户端 v25.4.30 使用vless + xtls-rprx-vision + reality |
pprof图 好像替换函数替换到某个效率不行的函数去了(没用到AES-NI?) 可疑commit XTLS/REALITY@514f864 cc: @yuhan6665 |
测试环境,x25519 同时,v25.4.30 版本使用vless + xtls-rprx-vision + tls 同时v25.5.16版本使用vless + xtls-rprx-vision + tls 服务器 v25.5.16 客户端 v25.4.30 使用vless + xtls-rprx-vision + tls 测试环境,X25519MLKEM768 同时v25.5.16版本使用vless + xtls-rprx-vision + tls |
同时v25.5.16版本 vless + xtls-rprx-vision + reality/tls 回落 vless + xhttp + reality/tls 同时v25.4.30版本 vless + xtls-rprx-vision + reality/tls 回落 vless + xhttp + reality/tls 前面速度低是反向代理的原因,反向代理瓶颈在bridges节点 |
I think I know why.. when I need to copy gcm package from golang tls to reality. (The reason we need to copy is because this gcm config moved to internal https://github.com/golang/go/blob/master/src/crypto/tls/cipher_suites.go#L564) |
@yuhan6665 真不愧是技术社区 平时闲扯皮没人说正事 更新版本处理速度变慢了马上给你怼上 pprof 感谢反馈👍 |
完整性要求
描述
看到reality出了X25519MLKEM768新特性,所以把服务端客户端都更新试了一下,reality节点的sni也对应换到了支持X25519MLKEM768的域名speed.cloudflare.com
随后测速发现异常,相比4.30版本速度少了一半,且测速时CPU占用也是100%
发现异常后首先尝试把sni换回X25519的域名,无果
随后尝试回退服务端xray到4.30,客户端保持5.16,遂发现速度恢复正常
继续尝试5.16版本使用vless-reality以外的协议性能是否正常,如shadowsocks,遂发现速度正常
结论:服务端xray升到5.16后使用reality会出现性能异常
重现方式
服务端升到5.16版本
客户端配置
服务端配置
客户端日志
服务端日志
The text was updated successfully, but these errors were encountered: