Categories
DuxTel Systems (11)
Interface Cards and Adapters (14)
Mikrotik Systems-> (159)
Mimosa Wireless (5)
RouterBOARD (11)
Router Enclosures (11)
Power Supplies & PoE-> (29)
Antennas and Accessories-> (106)
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
Articles
New Articles
Case Studies
Product Guides (2)
Mikrotik Configuration (17)
Technical (5)
Community News (9)
Q&A (28)
Product Advisory (7)
Policy and Information (7)
Information
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
more
0 items
Latest News
about 1 day ago
Cute as a button! The hAP-mini 3 port wifi router from MikroTik has finally passed all relevant certifications! Ge…
more >>
about 10 days ago
LOOK! The new wsAP-lite is a dual band WiFi AP with passthrough PoE ethernet that fits into a power point profile!
more >>
about 10 days ago
The new LtAP-mini is the ideal mobile and vehicle connectivity system with GPS - add your own 4G modem for the ulti…
more >>
about 10 days ago
The cool new RBLHGG-60adkit Wireless Wire Dish Kit is on its way - available for pre-order right now!
more >>
about 11 days ago
DuxTel News: Half-price Mimosa, MikroTik LTE updates, MUM 2018 Highlights -
more >>
about 01 month ago
CCR1072-1G-8S+ - it doesn't get any better than this! Normally $4325, special price $2999 - (ex demo model, 1 unit…
more >>
about 01 month ago
ready for MikroTik Certified Training - kicking off TOMORROW! :)
more >>
about 01 month ago
MikroTik's first ever true 802.3af/at PoE switch with auto-detecting 24v/48v and 4x 10GB SFP+ uplink is available n…
more >>
about 01 month ago
Thinking about horns? See here! :)
more >>
Follow our tweets for all the latest news and updates!
twitter.com/duxtel
Reviews
more
RBCA450G: RB450G kit with indoor case - assembled
The RB450G is the swiss army knife of routers. The amount of ..
5 of 5 Stars!

Copyright © 2018 DuxTel Online Store