Comments (4)
If the feature only benefits Linux, then this feature will not be implemented.
Because I use kcptube too, and I'm using it on Windows and FreeBSD. TCP simulation mode can also be done on Windows and FreeBSD, but simulating TCP requires privilege mode, no matter Linux, FreeBSD or Windows. In Windows, it will cause a UAC pop-up window to appear every time it is used, which will be even more inconvenient.
On the other hand, if the UDP speed is limited, it may be due to the limitation of the VPS provider, the limitation of your home broadband service provider, or the insufficient international outgoing bandwidth of your country (if the location of your VPS is not in your country).
Chinese ISPs have different throttling modes for UDP, among which the most common is ‘port number throttling’ — the initial burst traffic can be very high, and it will be throttled after a while. The ‘port hopping’ function of KCPTube and UDPHop is designed for this throttling.
I'm not sure whether other countries' broadband service providers also throttle UDP like China does.
from kcptube.
‘the hosting itself does it’?
UDP speed is limited by VPS Hosting Provider? Ah, that's new to me.
May I know:
- Which VPS Hosting Provider are you using?
- Which speed test tool are you using?
- Have you tried using iperf to test the speed directly without going through wireguard?
Tip: When using iperf to test UDP speed, please use the -b
option to test multiple times with multiple bandwidth values, such as 10M, 100M, and 1G, to check the actual UDP bandwidth and packet loss rate.
from kcptube.
The speed (traffic) of TCP is higher than UDP, this is a common situation in China. We describe it as ‘ISP's QoS, TCP has higher priority than UDP’.
As previously mentioned, UDP speed can be restricted on various locations, including restrictions imposed by your local ISP or limited by the international outbound bandwidth in your region or your local ISP.
This is the reason you need to use iperf to test your network bandwidth (particularly UDP) first.
No need to do iperf speed tests inside the WireGuard tunnel yet. Just run iperf
in server mode on your VPS, and run iperf
in client mode on your home computer or router. And then, as I mentioned before, test the UDP speed by using -b
option to test different bandwidth values and see what the resulting packet loss and speed rates are.
server side:
iperf -s -u
client side, test download speed of UDP:
iperf -c your_vps_ip_address -u -b 10M -R -t 30
iperf -c your_vps_ip_address -u -b 100M -R -t 30
iperf -c your_vps_ip_address -u -b 1000M -R -t 30
or using iperf3
server side:
iperf3 -s
client side:
iperf3 -c your_vps_ip_address -u -b 10M -R -t 30
iperf3 -c your_vps_ip_address -u -b 100M -R -t 30
iperf3 -c your_vps_ip_address -u -b 1000M -R -t 30
from kcptube.
The screenshot clearly shows that the actual usable bandwidth for UDP connections reaches 104 Mbps, higher than the 11.62 Mbps reported by the speedtest command. This suggests that the ‘speed limitation’ is not in ‘UDP throttling’ but more likely a configuration error.
Based on the configuration file from another Issue, it appears that the inbound_bandwidth
value you set for client
mode is significantly higher than 104 Mbps, which can actually reduce the transfering speed (as mentioned in #22 ). Please try to setting the client
mode inbound_bandwidth
to 100M.
from kcptube.
Related Issues (20)
- what is the meaning of the dport_refresh parameter? HOT 1
- About the MTU,using with wireguard HOT 2
- 客户端报告错误“open: Too many open files” HOT 4
- [feature request]能否考虑在同一个客户端配置文件增加多个端口转发 HOT 4
- 20231010版的传输问题 HOT 2
- Plz add official docker image to Docker Hub.
- [feature request]能否也考虑支持远程端口转发(或者叫反向端口转发) HOT 2
- 建议为用户说明一下/etc/sysctl.conf文件参数的设置 HOT 1
- 大容量文件下载随机中断的问题 HOT 18
- 关于FEC配置的一些疑问 HOT 4
- 20231202版本出现segfault HOT 1
- docker镜像load之后镜像的名称为<none> HOT 2
- KCPTube对UDP流量的转发是可靠传输还是非可靠传输? HOT 6
- wireguard via kcptube - did it work? HOT 1
- how to install wireguard in kcptube? HOT 3
- low speed in speedtest HOT 2
- kcp over udp2raw does not work well HOT 10
- fec无法使用 HOT 1
- kcptube segfault error HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcptube.