Community discussions

MikroTik App
 
anuser
Long time Member
Long time Member
Topic Author
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

idea: EoIP for high latency/lossy connections => Forward Error Correction

Sun Jul 29, 2018 11:09 pm

Hello,

I found UDPspeeder on https://github.com/wangyu-/UDPspeeder: "A Tunnel which Improves your Network Quality on a High-latency Lossy Link by using Forward Error Correction."
I would like to suggest a similar feature for EoIP tunnels. What about an addon which you can simply activate/deactivate Forward Error Correction for a connection? Is there anything on the roadmap?

What do you think?

Regards
 
dmnc
just joined
Posts: 9
Joined: Mon Nov 18, 2013 9:27 pm

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Fri Feb 28, 2020 12:05 pm

+1

With abandoned Metarouter this seems to be a nice feature request.
 
anuser
Long time Member
Long time Member
Topic Author
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Sat Jan 02, 2021 10:19 am

+ 1
 
User avatar
erkexzcx
Member Candidate
Member Candidate
Posts: 263
Joined: Mon Oct 07, 2019 11:42 pm

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Sat Jan 02, 2021 2:46 pm

Try filling feature request: https://mikrotik.com/support
 
killersoft
Member Candidate
Member Candidate
Posts: 235
Joined: Mon Apr 11, 2011 2:34 pm
Location: Victoria, Australia

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Sun Jan 03, 2021 7:59 am

FEC is common on networks such as satellite comm's.
That said, it will be CPU intensive, especially over EoIP.
Noting that TCP knows when frames have not been received and windowing of the frame. I would image that using a smaller TCP window size is the better option.
As for UDP( Voip / Gaming packet ), by the time FEC gets around to it, its probably not worth the processing time!
 
anuser
Long time Member
Long time Member
Topic Author
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Mon Aug 21, 2023 9:38 pm

Shameless push ;-)
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Mon Aug 21, 2023 9:59 pm

+1 ... While not in context of EoIP, some FEC-enabled tunnels have been discussed here before:

FEATURE REQUEST: FEC tunnel type
viewtopic.php?t=196756

Request: FEC tunnel types
viewtopic.php?t=138441
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Mon Aug 21, 2023 10:22 pm

Generally FEC would report corrected errors, so you'd be able to see if it's providing a value (e.g. actually correcting anything vs added latency/CPU load).

Noting that TCP knows when frames have not been received and windowing of the frame. I would image that using a smaller TCP window size is the better option.
Idea with FEC might correct something to prevent the TCP re-transmission dance. On a low latency fiber line, this would NOT help that much. But at moderate or high latency (& where latency is NOT due congestion)... any saving of TCP roundtrips dramatically lowers average latency, as the error-free latency on link goes up.

As for UDP( Voip / Gaming packet ), by the time FEC gets around to it, its probably not worth the processing time!
Agree, gaming may not be a good use case. And for PBX-style VoIP/video trunks, you can sometimes enable FEC on the RTP, which seems like a better place to enable FEC than a Mikrotik. But that is if the IP PBX support it...

It the UDP-based VPNs where overlying FEC may still be a good idea. Since more sophisticated UDP protocols still need roundtrips correct errors errors. And UDP protocols that's have no reliability, like SNMP... might also benefit to increase chance of a packet arrives intact and prevent gaps in SNMP data.

Not saying FEC is a panacea to lossy lines, but at minimum it give some data (e.g. are there FEC-correctable errors on a line?).
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2989
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Mon Aug 21, 2023 10:25 pm

sounds like a useful feature
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3169
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: idea: EoIP for high latency/lossy connections => Forward Error Correction

Mon Aug 21, 2023 10:48 pm

sounds like a useful feature
I'd envision it working like /ip/packing where you define the interface to apply FEC to & other end also have to define it. But essentially operate like UDPspeeder and the like.

I don't think it be that hard, but yeah increased CPU. But there is research out there backing FEC helping in other case between fiber and GEO sats. More importantly, competitors allow FEC. Pepwave has made a whole business around putting a "multi-WAN friendly" UI over OpenVPN with FEC tunnels, at 3x (or more) cost of Mikrotik

Who is online

Users browsing this forum: No registered users and 16 guests