Community discussions

MikroTik App
 
derr12
Member
Member
Topic Author
Posts: 411
Joined: Fri May 01, 2009 11:32 pm

Question about PCQ QOS in the Queue Tree.

Sat Aug 20, 2011 3:17 am

Hi again, I was looking at some of my PCQ rules and I come across something that i couldnt help but ponder about.

My queue tree's look like this:

Flags: X - disabled, I - invalid
0 name="Uploads_Full" parent=global-out limit-at=0 priority=1 max-limit=1M
burst-limit=0 burst-threshold=0 burst-time=0s

1 name="Downloads_Full" parent=global-in limit-at=0 priority=1 max-limit=4M
burst-limit=0 burst-threshold=0 burst-time=0s

2 name="DN_priority2" parent=Downloads_Full packet-mark=p2_down
limit-at=128k queue=downloads_pcq priority=2 max-limit=4M burst-limit=0
burst-threshold=0 burst-time=0s

3 name="DN_priority3" parent=Downloads_Full packet-mark=p3_down
limit-at=128k queue=downloads_pcq priority=3 max-limit=4M burst-limit=0
burst-threshold=0 burst-time=0s

4 name="DN_priority8" parent=Downloads_Full packet-mark=p8_down
limit-at=256k queue=default priority=8 max-limit=4M burst-limit=0
burst-threshold=0 burst-time=0s

5 name="DN_priority4" parent=Downloads_Full packet-mark=p4_down
limit-at=3008k queue=downloads_pcq priority=4 max-limit=4M burst-limit=0
burst-threshold=0 burst-time=0s

6 name="DN_priority5" parent=Downloads_Full packet-mark=p5_down limit-at=0
queue=downloads_pcq priority=5 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

7 name="DN_priority6" parent=Downloads_Full packet-mark=p6_down limit-at=0
queue=downloads_pcq priority=6 max-limit=0 burst-limit=0
burst-threshold=0 burst-time=0s

8 name="DN_priority7" parent=Downloads_Full packet-mark=p7_down
limit-at=512k queue=downloads_pcq priority=7 max-limit=4M burst-limit=0
burst-threshold=0 burst-time=0s

9 name="UP_priority1" parent=Uploads_Full packet-mark=p1_up limit-at=64k
queue=uploads_pcq priority=1 max-limit=1M burst-limit=0
burst-threshold=0 burst-time=0s

10 name="UP_priority2" parent=Uploads_Full packet-mark=p2_up limit-at=128k
queue=uploads_pcq priority=2 max-limit=1M burst-limit=0
burst-threshold=0 burst-time=0s

11 name="UP_priority3" parent=Uploads_Full packet-mark=p3_up limit-at=128k
queue=uploads_pcq priority=3 max-limit=1M burst-limit=0
burst-threshold=0 burst-time=0s

12 name="UP_priority4" parent=Uploads_Full packet-mark=p4_up limit-at=512k
queue=uploads_pcq priority=4 max-limit=1M burst-limit=0
burst-threshold=0 burst-time=0s

13 name="UP_priority5" parent=Uploads_Full packet-mark=p5_up limit-at=0
queue=uploads_pcq priority=5 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0s

14 name="UP_priority6" parent=Uploads_Full packet-mark=p6_up limit-at=0
queue=uploads_pcq priority=6 max-limit=0 burst-limit=0 burst-threshold=0
burst-time=0s

15 name="UP_priority7" parent=Uploads_Full packet-mark=p7_up limit-at=128k
queue=uploads_pcq priority=7 max-limit=1M burst-limit=0
burst-threshold=0 burst-time=0s

16 name="UP_priority8" parent=Uploads_Full packet-mark=p8_up limit-at=64k
queue=uploads_pcq priority=8 max-limit=1M burst-limit=0
burst-threshold=0 burst-time=0s

17 name="DN_priority1" parent=Downloads_Full packet-mark=p1_down limit-at=64>
queue=downloads_pcq priority=1 max-limit=4M burst-limit=0
burst-threshold=0 burst-time=0s

The parent queue types are "ethernet default" but my queue children are using this:

5 name="uploads_pcq" kind=pcq pcq-rate=0 pcq-limit=35
pcq-classifier=src-address pcq-total-limit=3000

6 name="downloads_pcq" kind=pcq pcq-rate=0 pcq-limit=35
pcq-classifier=dst-address pcq-total-limit=3000

So the children queues allow for 35 packet length queues per user up to a total of 3000 "enough for 85 users"

The question is; should the parent queues be left on ethernet default? if i set the queue type to pcq upload or download would that only allow for a 35 packet queue length for the entire tree under the parent? does it even matter since the only thing that needs to be queued between one another is the children? what is the Ultimate Answer to the Ultimate Question of Life, The Universe, and Everything?
 
User avatar
dasiu
Trainer
Trainer
Posts: 232
Joined: Fri Jan 30, 2009 11:41 am
Location: Reading, UK
Contact:

Re: Question about PCQ QOS in the Queue Tree.

Sat Aug 20, 2011 10:41 am

The question is; should the parent queues be left on ethernet default? if i set the queue type to pcq upload or download would that only allow for a 35 packet queue length for the entire tree under the parent? does it even matter since the only thing that needs to be queued between one another is the children?
Only the children do the queueing. The parents only calculate bandwidth for them - so no queue type is needed. You can check this by setting the queue type to pcq and monitoring the "pcq queues" number of the parent - should be zero :).
(and even if the parent would do the queueing also - the 35 packet queue should be for one classifier - inner queue - and the classifiers are still src/dst-addresses/ports)
 
derr12
Member
Member
Topic Author
Posts: 411
Joined: Fri May 01, 2009 11:32 pm

Re: Question about PCQ QOS in the Queue Tree.

Tue Aug 23, 2011 6:34 pm

cool thanks, i figured it was irrelevent since it has been working as is. But not knowing things makes my brain itchy.

Who is online

Users browsing this forum: ernestova, MSN [Bot], paulkmoore and 124 guests