-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
add tcpcongestion
#1234
add tcpcongestion
#1234
Conversation
{
"streamSettings": {
"sockopt": {
"tcpcongestion": "bbr"
}
}
} |
@@ -424,6 +424,7 @@ type SocketConfig struct { | |||
DialerProxy string `protobuf:"bytes,9,opt,name=dialer_proxy,json=dialerProxy,proto3" json:"dialer_proxy,omitempty"` | |||
TcpKeepAliveInterval int32 `protobuf:"varint,10,opt,name=tcp_keep_alive_interval,json=tcpKeepAliveInterval,proto3" json:"tcp_keep_alive_interval,omitempty"` | |||
TcpKeepAliveIdle int32 `protobuf:"varint,11,opt,name=tcp_keep_alive_idle,json=tcpKeepAliveIdle,proto3" json:"tcp_keep_alive_idle,omitempty"` | |||
TcpCongestion string `protobuf:"bytes,12,opt,name=tcp_congestion,json=tcpCongestion,proto3 json:"tcp_congestion,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
大佬是不是手动修改的?
请使用 go generate core/proto.go 或者单独 protoc 自动生成这个文件
感谢大佬 先合了 我帮你自动生成一下 |
这个特性,在入站和出站里都可以使用的吗? |
这?bbr啥意思 |
@chancat87 如果没有误解的话,应该是用户空间的bbr拥塞控制,与TUIC那个项目的想法应该一样吧 对应的应该就是之前大家一直强调的linux系统的/etc/sysctl.conf文件加入net.ipv4.tcp_congestion_control=bbr拥塞控制,但这个需要linux系统内核版本支持,但很多奇奇怪怪的linux系统甚至都没有/etc/sysctl.conf文件的,另外容器系统也是没有办法在容器内部开bbr的,所有这些限制都可以通过用户空间方式bbr解除 另外windows server也不支持bbr的,而bbr在用户空间实现的话,连带着windows server系统也沾光了,不需要依赖系统了(可惜现在的代码仅支持linux) |
还有这样的。。vps开启过bbr的这个就没用了吧。?
在 2022-10-30 02:46:55,egg1234 ***@***.***> 写道:
@chancat87 如果没有误解的话,应该是用户空间的bbr拥塞控制,与TUIC那个项目的想法应该一样吧
对应的应该就是之前大家一直强调的linux系统的/etc/sysctl.conf文件加入net.ipv4.tcp_congestion_control=bbr拥塞控制,但这个需要linux系统内核版本支持,但很多奇奇怪怪的linux系统甚至都没有/etc/sysctl.conf文件的,另外容器系统也是没有办法在容器内部开bbr的,所有这些限制都可以通过用户空间方式bbr解除
另外windows server也不支持bbr的,而bbr在用户空间实现的话,连带着windows server系统也沾光了,不需要依赖系统了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
牛逼 |
请问配置文件里面inbounds和outbounds都需要增加这个配置吗?还是只需要inbounds里面添加就可以?
|
我在docker container 行 Xray。開設定跑網速快了30%。。牛。。。 |
我感觉不是用户空间的bbr,只是如果kernel支持但是没有全局打开的话,则自动为此程序打开,或许在docker里面有点用? 总之我在某个4.19内核,没加载bbr模块的系统上,开启此选项会报错,
, 虽然server还是启动了,但也没有加速效果。 |
No description provided.