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

kcp设置 uplinkcapacity不起作用?设置2M还能跑到200M上行 #1652

Closed
1265578519 opened this issue Apr 20, 2019 · 12 comments
Closed

Comments

@1265578519
Copy link

版本4.18
kcp设置 uplinkcapacity不起作用?设置2M还能跑到200M上行

测试地址 fast.com,在上行测速阶段,本地网络上传竟然可以达到200M,超过运营商提供大小导致网络拥堵。
tcp模式和ss上都没有这个问题。只存在kcp模式下。
image

客户端配置信息
"kcpItem": {
"mtu": 1350,
"tti": 50,
"uplinkCapacity": 2,
"downlinkCapacity": 20,
"congestion": false,
"readBufferSize": 2,
"writeBufferSize": 2
},

@kslr
Copy link
Contributor

kslr commented Apr 20, 2019

#460 (comment)

@1265578519
Copy link
Author

有办法限制他吗。。不要超过运营商最大速率。

@kslr
Copy link
Contributor

kslr commented Apr 21, 2019

你试试设置uplinkCapacity到5

@1265578519
Copy link
Author

..没有效果,我上面贴了客户端配置信息,用的是2。

@GBVF
Copy link

GBVF commented Apr 26, 2019

我也是

@dongriljf
Copy link

试试这个
"mtu": 1420,
"tti": 100,
"uplinkCapacity": 2,
"downlinkCapacity": 20,
"congestion": true,
"readBufferSize": 1,
"writeBufferSize": 1,

@1265578519
Copy link
Author

楼上提供的方法没有效果,,,算了就这样吧。。毕竟UDP协议估计问题也不好修

@kslr
Copy link
Contributor

kslr commented May 17, 2019

先别关,有时间了就来处理这个问题

@changyp6
Copy link

changyp6 commented Jun 6, 2019

一样的问题。downLink设置了有用,upLink设置了根本没用,直接跑飞掉。
在fast.com上测试,upload speed直接能到200M

@kslr
Copy link
Contributor

kslr commented Dec 30, 2019

4.22调整了一些参数

@1265578519
Copy link
Author

好的,感谢更新,有时间测一下,现在都没用kcp。。

@github-actions
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

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

No branches or pull requests

5 participants