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

使用tinyfecvpn带宽速度下降为20m左右 #105

Open
Kryo123456 opened this issue Apr 1, 2022 · 2 comments
Open

使用tinyfecvpn带宽速度下降为20m左右 #105

Kryo123456 opened this issue Apr 1, 2022 · 2 comments

Comments

@Kryo123456
Copy link

可以连通而且丢包确实降低了,但是速度被稳定限制在20m左右,通过fast.com和speedtest.net等网站测试均为这个结果,cpu占用没有超过50%,可以确定不是性能的问题。

客户端为openwrt软路由,配置为[2022-04-01 21:22:13][INFO]argc=10 /usr/bin/tinyvpn -c -r127.0.0.1:37777 -f2:4 --timeout 1 -k passwd --sub-net 10.22.20.0
[2022-04-01 21:22:13][INFO]parsing address: 127.0.0.1:37777
[2022-04-01 21:22:13][INFO]its an ipv4 adress
[2022-04-01 21:22:13][INFO]ip_address is {127.0.0.1}, port is {37777}
[2022-04-01 21:22:13][INFO]sub_net 10.22.20.0
[2022-04-01 21:22:13][INFO]jitter_min=0 jitter_max=0 output_interval_min=0 output_interval_max=0 fec_timeout=1 fec_mtu=1250 fec_queue_len=200 fec_mode=0
[2022-04-01 21:22:13][INFO]fec_str=2:4
[2022-04-01 21:22:13][INFO]fec_inner_parameter=1:4,2:4
[2022-04-01 21:22:13][INFO]using interface tun460

服务端为azhk,配置为[2022-04-01 13:26:00][INFO]argc=12 /home/kryo/tinyvpn_amd64 -s -l0.0.0.0:31010 -k passwd -f2:4 --timeout 1 --sub-net 10.22.20.0
[2022-04-01 13:26:00][INFO]parsing address: 0.0.0.0:31010
[2022-04-01 13:26:00][INFO]its an ipv4 adress
[2022-04-01 13:26:00][INFO]ip_address is {0.0.0.0}, port is {31010}
[2022-04-01 13:26:00][INFO]sub_net 10.22.20.0
[2022-04-01 13:26:00][INFO]jitter_min=0 jitter_max=0 output_interval_min=0 output_interval_max=0 fec_timeout=1 fec_mtu=1250 fec_queue_len=200 fec_mode=0
[2022-04-01 13:26:00][INFO]fec_str=2:4
[2022-04-01 13:26:00][INFO]fec_inner_parameter=1:4,2:4
[2022-04-01 13:26:00][INFO]using interface tun665

无论是否使用udp2raw结果都是一样,我想应该不是udp2raw的问题。

@helaobibi
Copy link

确实丢包会少,但是代价会让带宽变少,这个没办法,而且还会受到机器性能的影响,你主要看高负载高流量,cpu是否吃满,特别是tinyvpn+udp2raw的时候

@wangyu-
Copy link
Owner

wangyu- commented May 30, 2022

cpu占用没有超过50%,可以确定不是性能的问题。

可能是一个核占满了,tinyvpn目前只能用一个核

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

3 participants