Community discussions

 
User avatar
DanielJB
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Mon May 27, 2013 3:05 pm

Enable TCP ECN for bandwidth efficiency

Thu Mar 20, 2014 7:48 am

We need a way to enable TCP Explicit Congestion Notification on RouterOS, so when eg TCP tunnels are established, we will get the increase in efficiency and reduction in packet loss. The current linux default is to accept ECN, but not request it when initiating connections.

Thus, we need a config option to do this:
echo 1 >/proc/sys/net/ipv4/tcp_ecn

A good candidate for RouterOS 7.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8319
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Enable TCP ECN for bandwidth efficiency

Fri Mar 21, 2014 11:06 pm

I'd rather say, a good candidate for 'IP -> Settings' in RouterOS v6.12 =)
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
User avatar
DanielJB
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Mon May 27, 2013 3:05 pm

Re: Enable TCP ECN for bandwidth efficiency

Sat Mar 22, 2014 11:50 am

Indeed. With a significant number of competing TCP flows, Zheng and Kinicki demonstrate a 15% improvement in goodput (ie useful TCP segments, flow efficiency) through an ECN-capable router, page 15:
http://web.cs.wpi.edu/~rek/ISCC02talk.ppt

Anyway, let me know if anything more is needed to submit this as a feature request for RouterOS. Many thanks!
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8319
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Enable TCP ECN for bandwidth efficiency

Mon Mar 24, 2014 8:51 am

write to support@mikrotik.com for an answer
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
Zorro
Long time Member
Long time Member
Posts: 676
Joined: Wed Apr 16, 2014 2:43 pm

Re: Enable TCP ECN for bandwidth efficiency

Tue Aug 02, 2016 9:24 am

any chance to see update/implementation on-topic ?
even w/o say PURPLE queues ( f-GREEN and s-GREEN are not ECN-dependant) there was TOO much tech in modern networking that fail to work or Severely underperfrom w/o ECN support(both support, requence, enforcement, enabled/toggled in all kinds/points of gear/networks).
its rather "simple update" to ROS, not demanding newer kernel or newer code, just extra checkbox(like say "routing cache" enabling or one for "syncookie" or for "RP Filter"(if MT decide to implement all 3 options for)in option for ROS to be aware in bootime about dat option/switch to perform according to. so there was no need to wait for ROS7 or much manpower/hours of work needed i suppose.

for anyone new to topic:
https://en.wikipedia.org/wiki/Explicit_ ... tification
https://tools.ietf.org/html/rfc3168
as basic introduction.

same about "enabling/disabling timestamps" - sometimes they Should be disabled, sometimes they are Lifesavers so there was "always should option about" such things in general.
 
User avatar
omidkosari
Trainer
Trainer
Posts: 616
Joined: Fri Sep 01, 2006 4:18 pm
Location: Iran , Karaj
Contact:

Re: Enable TCP ECN for bandwidth efficiency

Wed Sep 21, 2016 3:33 pm

Any news about ECN support ?
MTCNA , MTCRE, MTCWE, Mikrotik Certified Trainer
 
pe1chl
Forum Guru
Forum Guru
Posts: 5928
Joined: Mon Jun 08, 2015 12:09 pm

Re: Enable TCP ECN for bandwidth efficiency

Wed Sep 21, 2016 5:27 pm

It would be more interesting to know (as these are routers) which queue types, if any, support ECN
in MikroTik products.
 
vomacko
just joined
Posts: 1
Joined: Sat May 20, 2017 10:57 am

Re: Enable TCP ECN for bandwidth efficiency

Sat May 20, 2017 11:01 am

Any news on ECN topic?
 
User avatar
Joni
Frequent Visitor
Frequent Visitor
Posts: 77
Joined: Fri Mar 20, 2015 2:46 pm
Contact:

Re: Enable TCP ECN for bandwidth efficiency

Tue Dec 18, 2018 9:06 pm

It would be more interesting to know (as these are routers) which queue types, if any, support ECN
in MikroTik products.
https://wiki.mikrotik.com/wiki/Manual:I ... all/Filter
 
bluecrow76
just joined
Posts: 19
Joined: Wed Sep 13, 2006 11:55 pm

Re: Enable TCP ECN for bandwidth efficiency

Fri Jan 25, 2019 7:03 pm

It would be more interesting to know (as these are routers) which queue types, if any, support ECN
in MikroTik products.
https://wiki.mikrotik.com/wiki/Manual:I ... all/Filter
Being able to set the ECN flag is a much different thing than knowing whether or not a queuing mechanism supports setting and receiving the ECN flag inherently. Just being able to set the flag on an outbound packet doesn't mean that a router "supports ECN." True ECN support would mean the queuing mechanism would slow the transmission of data when it observed a packet with the ECN flag set, rather than dropping packets.

Who is online

Users browsing this forum: No registered users and 73 guests