CoDel Intro by Loganaden Velvindron

Hosted at the University of Mauritius (UoM), Logan made a presentation explaining the “bufferbloat” problem in our network equipment [1].

media-20150829 (2)

Buffer is a memory where data is stored temporarily before being transferred to another place [2]. For example, the conveyor belt at the supermarket can be thought as a buffer. Imagine a person buying stuffs for his family for one month and you are waiting for him to finish checking out for you to buy your single pack of chewing gums.

Source: carrotsncake.com

You just wasted an enormous amount of time. You’d feel pretty much pissed about it.

Reducing the amount of articles a person can put on a conveyor belt to let’s say 10 articles max will prevent you from waiting excessive amount of time as compared to being behind a person with 100+ articles.

This is what CoDel wants to achieve from what I understood from the presentation. Reducing the queue length of network equipment to allow more dropping of “elephant flows” to allow reduce serving time of “mice” and “ants”.

Logan Bufferbloat

I’m not sure what CoDel does more than just reducing queue length. And yeah, CoDel drops packets from the front of the queue rather than the end of it.

Does it make sense? I think yes. Let’s say you are on Mauritius Telecom’s MyT LaFibre when your 50GB allowance is over. Internet becomes a pain. Facebook is taking more than 2 minutes to load. You press the reload button 5 times. When the packet of your first request is reaching Facebook server you already refreshed your page making the request stale. The server still processes the first request and sends back. Meanwhile you are waiting packets from the 5th request. If the server just drops packets from the front, the latest flows will be served. Still doesn’t make sense?

Queue Drop
Source: what-when-how.com

Anyways, from a hacker’s point of view, doesn’t it become easier to do Denial of Service (DoS) attacks? Let’s say Mr X just send a packet to a server. I just flood the server queue so as his request gets dropped. Sending burst data to servers can result in some sort of “VIP” service since all requests before the queue is dropped. Maybe Logan can enlighten me in the next presentation.

media-20150830

CoDel however is currently being designed and tweaked for latencies not more than 100ms Logan says. Will it work in the Mauritian context where latencies are around 300-350ms? Students from universities are invited to study the mechanism and improve user experience for Mauritius and African countries.

[1] http://logan.hackers.mu/2015/08/linux-meeting-29082015
[2] https://en.wikipedia.org/wiki/Data_buffer

Leave a Reply

Your email address will not be published. Required fields are marked *