Community discussions

MikroTik App
 
lordwhiskey
newbie
Topic Author
Posts: 27
Joined: Wed Jun 26, 2013 8:33 am

Simple queue logics and order

Sun Aug 18, 2019 12:37 pm

Hi there!

I would like to have some clarification about how simple queues work in Mikrotik devices. In particular, is not 100% clear (or I'm not 100% sure to have understood it correctly) how the hierarchy works when there are parent and child queues.

A schematic description of the hierarchy I'm working with is like the following (consider that the order in which the entries are listed here, follows the one that is in my implementation. This means that LAN devices has an entry ID that is bigger than Streaming devices etc..):
[Root Node]
|
|-- [VoIP devices]
|-- [Streaming devices]
     |-- [Device 1]
     |-- [Device 2]     
     |-- ....
     |-- [Device n]
|-- [LAN devices] 
Each element has its own Down/Up limits set (all of them are less or equal than the one set for the root node).

Voip devices have the highest priority (i.e. 1) whereas Streaming devices mid-way (i.e., 5) and LAN devices have lowest (i.e., 8 ). However, within the streaming devices I have n different nodes. Each node has (potentially) a different priority level (the reason is that some of those are used mainly for recorded videos like Netflix, whereas others are used for live events).

Given the above configuration, my personal understanding is that the queuing system should work so that the Streaming devices have higher priority over generic LAN devices (e.g., when a smartphone downloading some updates and video are streamed), and then (following the same reasoning) within the Streaming devices branch, the element with highest priority (i.e., 1) will be served first with respect to the ones with lower priority (i.e., 2 to 8 ), am I correct?

Is there any "warmly suggested" type of queue to be used in the specific context of live video streaming? Currently all of them are pcq. I'm asking this because some of those might be better in terms of avoid buffering than others.

A final question is: does the queuing system ensure to provide more bandwidth to the devices with higher priority when it is required?

An example: on the network a generic LAN device is consuming the 80% of the total bandwidth. Suddenly a streaming device requires to use the 90%. Does the prioritization within the queuing system ensure the reduction of the bandwidth to the generic LAN device to provide the 90% to the device that has higher priority?

Thanks