Skip to content
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

性能测试 校验问题 #1257

Closed
yinliangc opened this issue Sep 7, 2018 · 1 comment
Closed

性能测试 校验问题 #1257

yinliangc opened this issue Sep 7, 2018 · 1 comment

Comments

@yinliangc
Copy link

https://steemit.com/cn/@v2ray/3cjiux

很有趣的一点是 None 居然比 GCM 慢。不加密反而比加密慢,有一点违反常识。原因是这样的:VMess 不管加不加密,都会进行数据校验,None 中使用的校验算法是 FNV,而 GCM 是一个 AEAD 算法,自带校验。于是带 CPU 加成的校验比软件实现的校验快了不小。这一点也超出了开发人员的预期,之后会考虑提升校验的性能。

请问这个问题解决了吗,目前 tls 参与的配置,似乎并不需要 GCM 加密,如果 none 的话,应该会提升性能,前提是校验的性能, 请问,现在 none 的问题解决了吗

@VictoriaRaymond
Copy link
Member

解决了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants