DuxTel Systems (13)
Interface Cards and Adapters (15)
Mikrotik Systems-> (155)
Mimosa Wireless (5)
RouterBOARD (10)
Router Enclosures (13)
Power Supplies & PoE-> (29)
Antennas and Accessories-> (117)
Mikrotik RouterOS (6)
Assembled Kits (6)
Carrier Wireless (1)
Cable and Misc (14)
Hardware and Mounting (23)
Configuration Library (FREE!) (7)
Quick Find
search products
search articles
New Articles
Case Studies
Product Guides (2)
Mikrotik Configuration (17)
Technical (5)
Community News (8)
Q&A (28)
Product Advisory (6)
Policy and Information (7)
Shipping & Returns
Privacy Notice
Conditions of Use
Contact Us
Traffic Shaping - an analogous treatment by Mike Everest

One of the most important principles to keep in mind when designing QoS solutions is that traffic shaping and priority is a pretty much one-sided affair, where the SENDER has arguably the most important important role in traffic shaping. 

Picture in your mind a data network being like a network of railway stations with people moving between metropolitan destinations - the railways stations are like routers, a LAN is like a town serviced by a railway station and the railways lines are the data links.

There are a few nicely analogous properties:

The capacity of the railways station is limited by the number of staff on hand to sell tickets and control entry and exit to the platforms.  The more staff on deck, the more passenger movements they can handle.  This is analogous to the CPU capacity of the router as the higher performance CPU you have, the more data packets you can move.

If you can only handle 100 passengers per hour, but you start getting trains arriving carrying 120 passengers in an hour, you have to put passengers in queues at the platform exit gates while you process their tickets.  If they keep arriving at a rate faster than you can possibly process them, then you have no choice but to simply send them back - i.e. dropped packets.  Once you start dropping packets, though, it doesn't stop them from coming - it just causes grief with those passengers wanting to get through, and with their families waiting for them to arrive! ;-)

Note that dropping packets is an effective way to manage your exit queues, but it doesn't stop the remote stations from sending passengers.  To make sure that you don;t have to drop packets, you have to tell the other end to stop sending them!  Unfortunately, there is no analogous technical protocol to a stationmaster getting on the phone and asking the remote master to slow down on the passengers!  The only way to do it in the routing world is to get on the phone and ask the administrator of the remote router to shape traffic according to your requirements.

Then there's the capacity of the trains (number of seats and number of services/day) is like the bandwidth available on the link. The more services per day and the more carriages on the train increases the bit-rate on that line.  As discussed previously, a high capacity link is no use if the station at the other end can't cope with the traffic throughput!

Last of all, there's first class an economy tickets.  If you have a first class ticket, then not only do you get a comfy plush couch to ride in, but you also get to go straight to the front of the queuing minions, or you get to use the special red-carpeted queue that is processed ahead of all the others.  This means that VIP passengers will always get first access to the train services and will always get to the destination on time.

Once again, if you have VIP queues at the /destination/ it can only help you improve exit time when those first class passengers get off the train and move through the exit gates.  If those passengers are not allowed to get on the train in the first place, red carpet service at the destination is no help at all!

The important point that are worth noting, is that you really need to start your traffic management efforts from the end that is /sending/ the passengers rather than to try to manage your input queues. There are some proprietary solutions that allow independent routers to exchange traffic information to convey inbound capacity to a sending router but no open standards that I am aware of. Remember that there are several points of possible congestion - including the router CPU capabilities, and not just the bandwidth capabilities of the network links.

I hope this analogous treatment of QoS operations helps you to understand underlying constraints in data systems and if you have any questions or comments, I'll be delighted to hear from you!


Date Added:
Current Comments: 0
Write Review
Tell a friend
Tell a friend about this article:  
Shopping Cart
0 items
Latest News
about 8 days ago
So called SLINGSHOT exploit reported by Kaspersky Labs this week is actually a very old known issue already patched…
more >>
about 9 days ago
DuxTel News: MikroTik User Meeting & Training Melbourne, Cool new products! -
more >>
about 10 days ago
MEET US AT THE MUM! MikroTik User Meeting is coming up in Melbourne on 18th May - meet the DuxTel Team together wit…
more >>
about 11 days ago
The DuxLink-ULTRA is back! Now with two options based on the brand new UltraDish from @rfelements and RB911G-5HacD…
more >>
about 13 days ago
ready for MTCWE starting tomorrow in Sydney! :)
more >>
about 15 days ago
Congratulations go to Ian Gallagher for taking out the DUX prize for MTCNA class! :)
more >>
Follow our tweets for all the latest news and updates!
SAF FreeMile: 24GHz 100Mbps Full Duplex
Very good PtP data links. I'd not encountered these systems ..
5 of 5 Stars!

Copyright © 2018 DuxTel Online Store