Community discussions

MikroTik App
 
solelunauno
Member Candidate
Member Candidate
Topic Author
Posts: 119
Joined: Mon Jul 16, 2012 7:00 pm
Location: Roseto Capo Spulico CS Italy
Contact:

simple queue priority

Thu Apr 02, 2020 1:12 pm

I've a CCR1009 that I use as wan queue priority manager. I've this queue configuration:
/queue simple
add max-limit=100M/100M name=fibra_in priority=1/1 target=brf
add dst=vlan101_voip limit-at=8M/8M max-limit=10M/10M name="VOIP clients" \
    parent=fibra_in priority=2/2 target=brf
add dst=vlan100_primo_ip limit-at=50M/50M max-limit=90M/90M name=1o_IP_fibra \
    parent=fibra_in priority=3/3 target=brf
add dst=vl_wc limit-at=50M/50M max-limit=50M/50M name=wificalabria parent=\
    fibra_in priority=4/4 target=brf
add dst=vl_cln limit-at=10M/10M max-limit=80M/80M name=pppoe-clienti \
    parent=fibra_in priority=5/5 target=brf
add dst=vl_hsp limit-at=4M/4M max-limit=5M/5M name=hotspot_pubblici parent=\
    fibra_in target=brf
add limit-at=1M/1M max-limit=90M/90M name=fibra_other parent=fibra_in target=\
    brf
/queue type
set 0 pfifo-limit=500
set 9 pfifo-limit=500
So, "brf" is the wan interface, and the child destination interfaces are some vlans on the "lan" side.
My queues works well, they capture traffic and they limit it at the max-limit value.
But priority doesn't work totally.
I expect that traffic going towards "vlan100_primo_ip" interface will reach it's limit-at value, if requested, as it has higher priority.
But instead, as traffic going towards "vl_cln" interface reaches its max-limit value, if I do a speed test from the "vlan100_primo_ip" interface I only get the difference of bandwidth between the parent max-limit (100Mbps) and the pppoe-clienti child max-limit (80Mbps), so 100-80=20Mbps.
Why?
You do not have the required permissions to view the files attached to this post.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: simple queue priority

Sat Apr 04, 2020 8:02 pm

Without a Parrent Queue (or inner queue) priority and limit-at features are ignored !
So you must make use of a Parent queue and then set the priority to your leaf (child) queues ... Since you ve already done that, i have to remind that First the Queue will satisfy the limit-at values and then will check the priorities, the queue with better priority will reach the max-limit if possible....

What kind of Queue algorith is used ?

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], ChadRT, tgcnet and 112 guests