wangyu- / tinyfecVPN

A VPN Designed for Lossy Links, with Build-in Forward Error Correction(FEC) Support. Improves your Network Quality on a High-latency Lossy Link.
MIT License
2.28k stars 456 forks source link

how to optimize for jitter and latency? #75

Open syadnom opened 5 years ago

syadnom commented 5 years ago

I'm still seeing some jitter with these settings: /opt/tinyfecvpn/tinyvpn -s -l0.0.0.0:4096 -f20:20 -k lightsail --sub-net 10.200.96.0 --tun-dev tun96 --mode 0

I'm not concerned with bandwidth, just jitter and loss.

How can I optimize this to produce the least amount of jitter?

With these settings, I'm seeing 59.6-85.1ms pings. I would like to eliminate the jitter and just have 85ms pings if possible.

qb0097 commented 5 years ago

You can try --fix-latency or -q1, that may make it stable.