Freakydot contains tutorials, free download, tips, tricks and everything you wanted to know from Information Technology. All operating system like as Windows XP, Windows 2000, Windows Vista and linux distro like as RedHat, Debian, Slackware, Mikrotik etc would an objects of contents. In the future, I may include some of the other technology like VoIP for Next Generation Network (NGN).  Many of the contains in freakydot was copy from another site which we didn’t mention. So please forgive us .... We just want to educate people with Information Technology.

Related Articles

Support us in making a small donation:


Freaky Feeds
Freakydot Feed
Mikrotik Queue Types PDF
User Rating: / 0
PoorBest 
Saturday, 18 July 2009 04:35

The queue types are used to specify some common argument values for queues. There are four default built-in queue types: default, ethernet-default, wireless-default, and synchronous-default. The built-in queue types cannot be removed. You can add your own queue types by specifying the argument values, for example:

 

[admin@MikroTik] queue type> add name=CUSTOMER-def kind=red \
\... red-min-threshold=0 red-burst=0
[admin@MikroTik] queue type> print
0 name=default kind=none bfifo-limit=15000 pfifo-limit=10 red-limit=60
red-min-threshold=10 red-max-threshold=50 red-burst=20 sfq-perturb=5
sfq-allot=1514

1 name=ethernet-default kind=none bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514

2 name=wireless-default kind=sfq bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514

3 name=synchronous-default kind=red bfifo-limit=15000 pfifo-limit=10
red-limit=60 red-min-threshold=10 red-max-threshold=50 red-burst=20
sfq-perturb=5 sfq-allot=1514

4 name=CUSTOMER-def kind=red bfifo-limit=15000 pfifo-limit=10 red-limit=60
red-min-threshold=0 red-max-threshold=50 red-burst=0 sfq-perturb=5
sfq-allot=1514

[admin@MikroTik] queue type>

Argument description:

 

name - name for the queue type
kind - kind of the queuing algorithm used:
    pfifo - Packets First-In First-Out
    bfifo - Bytes First-In First-Out
    red - Random Early Detection
    sfq - Stochastic Fair Queuing
    none - (same as default) The queue type as it is by default for the specific interface.
bfifo-limit - BFIFO queue limit. Maximum packet number that queue can hold.
pfifo-limit - PFIFO queue limit. Maximum byte number that queue can hold.
red-limit - RED queue limit
red-min-threshold - RED minimum threshold
red-max-threshold - RED maximum threshold
red-burst - RED burst
sfq-perturb - amount of data in bytes that can be sent in one round-robin round
sfq-allot - how often to change hash function

For small limitations (64kbps, 128kbps) RED is more preferable. For larger speeds PFIFO will be as good as RED. RED consumes much more memory and CPU than PFIFO & BFIFO.