Community discussions

 
ncats
just joined
Topic Author
Posts: 8
Joined: Mon Apr 23, 2018 9:37 pm

What is the affect of Total Queue Type in a Simple Queue

Tue Dec 04, 2018 4:27 am

I would love help understanding the behavior of queue type. I have two questions:

Why do all of my simple queues appear to be linked by the queue type in a manner that affects their performance?
What is the purpose of total-queue-type? Especially if I'm not using any other configuration on the Total tab.

I have a problem. Customers with access to 100Mbps can only achieve this speed in the afternoon when usage is low. At night they can only pull 30Mbps. However, they only have this problem if there is a simple queue that applies to their IP. Something is wrong with the queue on our CCR.

I have 2500 simple queues used to limit bandwidth by IP. My peak usage at night is 4Gbps. I use limit at under the advanced tab. The upload and download queue type is "default". The total-queue-type is "default".

This fixes the issue for individual clients:
1. disable their simple queue. This is only good for testing, since I still want to rate limit them.
2. select default-small for their upload and download queue. (total-queue remains at default)
3. select default-small for the total-queue-type. (upload and download queue remains at default)

It appears I can reverse this. If I select default-small for the total of the simple queues, then I have to select default either under upload/download or for the total-queue-type to get it to run properly.

Also of interest, when using the default queue type I can affect the performance by changing the default queue size. At a size of 10, clients can only achieve about 10Mbps. At a size of 150, they can achieve 30Mbps. At 300, they achieve about 50Mbps. Anything above this is negligible.
 
ncats
just joined
Topic Author
Posts: 8
Joined: Mon Apr 23, 2018 9:37 pm

Re: What is the affect of Total Queue Type in a Simple Queue

Tue Dec 04, 2018 3:32 pm

The more simple queues I assign to a queue type, the less total bandwidth a client can achieve.
 
tihovsky
just joined
Posts: 12
Joined: Mon Aug 13, 2012 11:11 pm

Re: What is the affect of Total Queue Type in a Simple Queue

Fri Nov 08, 2019 4:04 pm

Not sure if you resolved this in the meantime, but let me try to help.

Having you to manage 2500 simple queues and CCR processor handle them is not exactly optimal way, so I would like to recommend you to check PCQ queue type.
It also enables limiting bandwidth by IP (if required by setting "rate" parameter to certain limit) or leaving it as 0 to share bandwidth equally up to max speed available equally (as defined by source/destination IP or by pairs of IP-port ). Best thing is it can be achieved as a single queue setting on the router so easy to manage.

There is lots of videos on youtube on how to setup PCQ and info in documentation so please check that out.
One caveat is to mind where you define queues, as "Upload" & "Download" settings are swapped if you define queue on the uplink port vs internal LAN port/bridge and sometimes due to NAT you might want to define queue on latter.
Either way do check performance after setting queue up with speedtest.net and test file downloads at thinkbroadband.com to assure performing as desired and tweak parameters of queue type and queue.

The last paragraph where queue size impacts max speed is likely related to TCP window or CCR CPU needing to handle and process that many queues at certain queue size.
Either way, better to limit stream with intended parameters than to count on this behavior to continue in same manner with upcoming firmware versions.

Who is online

Users browsing this forum: No registered users and 116 guests